mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Support delete of multiple sub plots in one operation
This commit is contained in:
parent
85cd07c373
commit
df1bb06f09
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user