mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
(#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:
1 parent
9c4766a262
commit
c52c029045
1 file changed
+2
-2
@@ -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))
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user