mirror of
https://github.com/OPM/ResInsight.git
synced 2026-08-08 20:28:16 -05:00
Make sure toolbar is refreshed when a new plot is added (#9199)
This commit is contained in:
committed by
Magne Sjaastad
parent
0dded5a252
commit
05e0817074
+1
@@ -84,6 +84,7 @@ void RicAddStoredFlowCharacteristicsPlotFeature::onActionTriggered( bool isCheck
|
||||
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( flowCharacteristicsPlot );
|
||||
RiuPlotMainWindowTools::setExpanded( flowCharacteristicsPlot );
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -83,6 +83,7 @@ void RicAddStoredWellAllocationPlotFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( wellAllocationPlot );
|
||||
RiuPlotMainWindowTools::setExpanded( wellAllocationPlot );
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -98,6 +98,7 @@ void RicShowFlowCharacteristicsPlotFeature::onActionTriggered( bool isChecked )
|
||||
|
||||
// Make sure the summary plot window is created and visible
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( flowPlotColl->defaultFlowCharacteristicsPlot() );
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -114,6 +114,7 @@ void RicShowWellAllocationPlotFeature::onActionTriggered( bool isChecked )
|
||||
// Make sure the summary plot window is created and visible
|
||||
RiuPlotMainWindowTools::showPlotMainWindow();
|
||||
RiuPlotMainWindowTools::selectAsCurrentItem( flowPlotColl->defaultWellAllocPlot() );
|
||||
RiuPlotMainWindowTools::refreshToolbars();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user