mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 10:22:15 -05:00
Keep source step dimension when saving/loading multiplots, including templates
This commit is contained in:
1 parent
6931d46b75
commit
ed392e6300
9 files changed
+121
-84
No files matched your search
@@ -92,6 +92,8 @@ void RicSaveMultiPlotTemplateFeature::onActionTriggered( bool isChecked )
|
||||
auto plot = selectedSummaryPlot();
|
||||
if ( !plot ) return;
|
||||
|
||||
plot->storeStepDimensionFromToolbar();
|
||||
|
||||
QString ext = ".rpt";
|
||||
if ( selectedSummaryPlot()->curveSets().size() > 0 ) ext = ".erpt";
|
||||
|
||||
|
||||
@@ -170,6 +170,7 @@ RimSummaryMultiPlot* RicSummaryPlotTemplateTools::create( const QString& fileNam
|
||||
regions );
|
||||
newSummaryPlot->initAfterReadRecursively();
|
||||
newSummaryPlot->loadDataAndUpdate();
|
||||
|
||||
collections->updateConnectedEditors();
|
||||
|
||||
return newSummaryPlot;
|
||||
|
||||
Reference in new issue
Block a user