mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-16 18:32:10 -05:00
#1018 : Snapshot - Use active view as basis for new snapshot definitions
This commit is contained in:
1 parent
60cb1d4ce0
commit
8d8ef3ddc1
3 files changed
+37
-27
No files matched your search
@@ -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