Removed dead code, RimCaseCollection was handled twice

This commit is contained in:
Magne Sjaastad 2015-10-26 10:15:53 +01:00
parent 7d02c794b7
commit bbdb730372

View File

@ -719,10 +719,6 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
commandIds << "RicPasteEclipseCasesFeature";
commandIds << "RicDeleteItemFeature";
}
else if (dynamic_cast<RimCaseCollection*>(uiItem))
{
commandIds << "RicPasteEclipseCasesFeature";
}
else if (dynamic_cast<RimEclipseCellColors*>(uiItem))
{
commandIds << "RicSaveEclipseResultAsInputPropertyFeature";
@ -919,8 +915,6 @@ void RimProject::appendScriptItems(QMenu* menu, RimScriptCollection* scriptColle
QDir dir(scriptCollection->directory);
QMenu* subMenu = menu->addMenu(dir.dirName());
RiuMainWindow* mainWindow = RiuMainWindow::instance();
caf::CmdFeatureManager* commandManager = caf::CmdFeatureManager::instance();
CVF_ASSERT(commandManager);