mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
Simplify RiuPlotMainWindowTools (#9211)
* Janitor: Add and use onObjectAppended() * Janitor: Simplify API
This commit is contained in:
1 parent
febbdcf7a0
commit
a1e7b64d92
34 files changed
+66
-93
No files matched your search
@@ -1397,7 +1397,7 @@ void RimSummaryMultiPlot::appendSubPlotByStepping( int direction )
|
||||
loadDataAndUpdate();
|
||||
updateConnectedEditors();
|
||||
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( newPlots.back(), true );
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( newPlots.back() );
|
||||
|
||||
updateSourceStepper();
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
|
||||
@@ -174,7 +174,7 @@ void RimSummaryMultiPlotCollection::duplicatePlot( RimSummaryMultiPlot* plotToDu
|
||||
|
||||
updateConnectedEditors();
|
||||
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( plotCopy, true );
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( plotCopy );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user