#1018 : Snapshot - Use active view as basis for new snapshot definitions

This commit is contained in:
Magne Sjaastad committed 2016-12-22 08:45:50 +01:00
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();
}
}