mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1018 : Snapshot - Use active view as basis for new snapshot definitions
This commit is contained in:
@@ -71,6 +71,12 @@ void RicExportMultipleSnapshotsFeature::onActionTriggered(bool isChecked)
|
||||
caf::CmdExecCommandSystemActivator activator;
|
||||
|
||||
RiuExportMultipleSnapshotsWidget dlg(nullptr, proj);
|
||||
|
||||
if (proj->multiSnapshotDefinitions.size() == 0)
|
||||
{
|
||||
dlg.addSnapshotItemFromActiveView();
|
||||
}
|
||||
|
||||
dlg.exec();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user