mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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:
parent
9c4766a262
commit
c52c029045
@ -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))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user