(#339) Using generic deletion feature to delete views

Note: Old version used to say "Delete" in the context menu, now it says
"Delete object".
This commit is contained in:
Pål Hagen 2015-08-18 14:10:34 +02:00
parent 9c4766a262
commit c52c029045

View File

@ -558,7 +558,7 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
commandIds << "RicNewViewFeature";
commandIds << "RicCopyReferencesToClipboardFeature";
commandIds << "RicPasteGeoMechViewsFeature";
//commandIds << "RicEclipseViewDelete";
commandIds << "RicDeleteItemFeature";
}
else if (dynamic_cast<RimEclipseView*>(uiItem))
{
@ -566,7 +566,7 @@ void RimProject::actionsBasedOnSelection(QMenu& contextMenu)
commandIds << "RicPasteEclipseViewsFeature";
commandIds << "RicNewViewFeature";
//commandIds << "RicEclipseViewDelete";
commandIds << "RicDeleteItemFeature";
}
else if (dynamic_cast<RimEclipseCase*>(uiItem))
{