Make sure toolbar is refreshed when a new plot is added (#9199)

This commit is contained in:
jonjenssen
2022-09-15 08:19:41 +02:00
committed by Magne Sjaastad
parent 0dded5a252
commit 05e0817074
24 changed files with 27 additions and 2 deletions
@@ -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();
}
}
}