Renamed command

This commit is contained in:
Pål Hagen 2015-08-11 15:38:20 +02:00
parent b0aac08827
commit b18cd87727
2 changed files with 2 additions and 3 deletions

View File

@ -29,7 +29,7 @@
#include <QAction>
CAF_CMD_SOURCE_INIT(RicSaveEclipseResultAsInputProperty, "RicEclipseCellResultSave");
CAF_CMD_SOURCE_INIT(RicSaveEclipseResultAsInputProperty, "RicSaveEclipseResultAsInputProperty");
//--------------------------------------------------------------------------------------------------
///

View File

@ -557,10 +557,9 @@ void RimProject::actionsBasedOnSelection(std::vector<QAction*>& actions)
actions.push_back(commandManager->action("RicEclipseViewPaste"));
actions.push_back(commandManager->action("RicEclipseViewDelete"));
}
// MODTODO: Find out why this cast doesn't work
else if (dynamic_cast<RimEclipseCellColors*>(uiItem))
{
actions.push_back(commandManager->action("RicEclipseCellResultSave"));
actions.push_back(commandManager->action("RicSaveEclipseResultAsInputProperty"));
}
else if (dynamic_cast<RimCellRangeFilterCollection*>(uiItem))
{