mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1018 : Added PdmUiTableView used to define multiple snapshot definitions
This commit is contained in:
@@ -22,13 +22,14 @@
|
||||
#include "RimProject.h"
|
||||
#include "RiuExportMultipleSnapshotsWidget.h"
|
||||
|
||||
#include "cafCmdExecCommandManager.h"
|
||||
|
||||
#include <QAction>
|
||||
|
||||
|
||||
CAF_CMD_SOURCE_INIT(RicExportMultipleSnapshotsFeature, "RicExportMultipleSnapshotsFeature");
|
||||
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -48,6 +49,9 @@ void RicExportMultipleSnapshotsFeature::onActionTriggered(bool isChecked)
|
||||
|
||||
if (proj)
|
||||
{
|
||||
// Enable the command system to be able to assign a value to multiple fields at the same time
|
||||
caf::CmdExecCommandSystemActivator activator;
|
||||
|
||||
RiuExportMultipleSnapshotsWidget dlg(nullptr, proj);
|
||||
dlg.exec();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user