mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Removed dead code, RimCaseCollection was handled twice
This commit is contained in:
parent
7d02c794b7
commit
bbdb730372
@ -719,10 +719,6 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
|
|||||||
commandIds << "RicPasteEclipseCasesFeature";
|
commandIds << "RicPasteEclipseCasesFeature";
|
||||||
commandIds << "RicDeleteItemFeature";
|
commandIds << "RicDeleteItemFeature";
|
||||||
}
|
}
|
||||||
else if (dynamic_cast<RimCaseCollection*>(uiItem))
|
|
||||||
{
|
|
||||||
commandIds << "RicPasteEclipseCasesFeature";
|
|
||||||
}
|
|
||||||
else if (dynamic_cast<RimEclipseCellColors*>(uiItem))
|
else if (dynamic_cast<RimEclipseCellColors*>(uiItem))
|
||||||
{
|
{
|
||||||
commandIds << "RicSaveEclipseResultAsInputPropertyFeature";
|
commandIds << "RicSaveEclipseResultAsInputPropertyFeature";
|
||||||
@ -919,8 +915,6 @@ void RimProject::appendScriptItems(QMenu* menu, RimScriptCollection* scriptColle
|
|||||||
QDir dir(scriptCollection->directory);
|
QDir dir(scriptCollection->directory);
|
||||||
QMenu* subMenu = menu->addMenu(dir.dirName());
|
QMenu* subMenu = menu->addMenu(dir.dirName());
|
||||||
|
|
||||||
RiuMainWindow* mainWindow = RiuMainWindow::instance();
|
|
||||||
|
|
||||||
caf::CmdFeatureManager* commandManager = caf::CmdFeatureManager::instance();
|
caf::CmdFeatureManager* commandManager = caf::CmdFeatureManager::instance();
|
||||||
CVF_ASSERT(commandManager);
|
CVF_ASSERT(commandManager);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user