mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1306 Added general "Delete Sub Items" feature
This commit is contained in:
@@ -446,6 +446,12 @@ QStringList RimContextCommandBuilder::commandsFromSelection()
|
||||
commandIds << "RicDeleteItemFeature";
|
||||
}
|
||||
|
||||
if (caf::CmdFeatureManager::instance()->getCommandFeature("RicDeleteSubItemsFeature")->canFeatureBeExecuted())
|
||||
{
|
||||
commandIds << "Separator";
|
||||
commandIds << "RicDeleteSubItemsFeature";
|
||||
}
|
||||
|
||||
if (caf::CmdFeatureManager::instance()->getCommandFeature("RicWellPathDeleteFeature")->canFeatureBeExecuted())
|
||||
{
|
||||
// Special delete command for Well paths
|
||||
|
||||
Reference in New Issue
Block a user