mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2580 Export Completion Data : Add command in File/Export menu
This commit is contained in:
@@ -398,6 +398,7 @@ void RiuMainWindow::createMenus()
|
||||
exportMenu->addAction(cmdFeatureMgr->action("RicExportMultipleSnapshotsFeature"));
|
||||
exportMenu->addSeparator();
|
||||
exportMenu->addAction(cmdFeatureMgr->action("RicSaveEclipseInputActiveVisibleCellsFeature"));
|
||||
exportMenu->addAction(cmdFeatureMgr->action("RicExportCompletionsForVisibleWellPathsFeature"));
|
||||
|
||||
fileMenu->addSeparator();
|
||||
fileMenu->addAction(cmdFeatureMgr->action("RicSaveProjectFeature"));
|
||||
@@ -753,6 +754,10 @@ void RiuMainWindow::slotRefreshFileActions()
|
||||
CVF_ASSERT(cmdFeatureMgr);
|
||||
|
||||
cmdFeatureMgr->action("RicWellPathsImportSsihubFeature")->setEnabled(projectFileExists);
|
||||
|
||||
QStringList commandIdList;
|
||||
commandIdList << "RicExportCompletionsForVisibleWellPathsFeature";
|
||||
cmdFeatureMgr->refreshStates(commandIdList);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user