mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
Support delete of multiple sub plots in one operation
This commit is contained in:
1 parent
85cd07c373
commit
df1bb06f09
2 files changed
+3
No files matched your search
@@ -48,6 +48,8 @@ bool RicDeleteSubPlotFeature::isCommandEnabled()
|
||||
|
||||
if ( selection.size() > 0 )
|
||||
{
|
||||
if ( dynamic_cast<RimMultiPlot*>( selection.front() ) ) return false;
|
||||
|
||||
size_t plotsSelected = 0;
|
||||
for ( caf::PdmObject* object : selection )
|
||||
{
|
||||
|
||||
@@ -1120,6 +1120,7 @@ caf::CmdFeatureMenuBuilder RimContextCommandBuilder::commandsFromSelection()
|
||||
menuBuilder << "RicCloseSummaryCaseInCollectionFeature";
|
||||
menuBuilder << "RicDeleteSummaryCaseCollectionFeature";
|
||||
menuBuilder << "RicCloseObservedDataFeature";
|
||||
menuBuilder << "RicDeleteSubPlotFeature";
|
||||
|
||||
menuBuilder << "RicNewMultiPlotFeature";
|
||||
menuBuilder << "RicAppendSummaryPlotsForObjectsFeature";
|
||||
|
||||
Reference in new issue
Block a user