Summary Multiplot: sync plot selection in tree with view (#8788)

* Make sure the subplot selected in the tree is shown in the multiplot viewer. 
* Clean up multiplot toolbar handling a bit
* Remove old summary plot toolbar.
This commit is contained in:
jonjenssen
2022-04-07 16:24:27 +02:00
committed by GitHub
parent 3590c52cdc
commit d156160daf
27 changed files with 78 additions and 228 deletions

View File

@@ -98,7 +98,7 @@ void RicImportSummaryCasesFeature::onActionTriggered( bool isChecked )
RiuPlotMainWindow* mainPlotWindow = app->getOrCreateAndShowMainPlotWindow();
if ( mainPlotWindow && !cases.empty() )
{
mainPlotWindow->updateSummaryPlotToolBar();
mainPlotWindow->updateMultiPlotToolBar();
}
std::vector<RimCase*> allCases;
@@ -147,7 +147,7 @@ bool RicImportSummaryCasesFeature::createAndAddSummaryCasesFromFiles( const QStr
RiuPlotMainWindow* mainPlotWindow = app->getOrCreateAndShowMainPlotWindow();
if ( mainPlotWindow && !cases->empty() )
{
mainPlotWindow->updateSummaryPlotToolBar();
mainPlotWindow->updateMultiPlotToolBar();
// Close main window if there are no eclipse cases imported
std::vector<RimCase*> allCases;