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:
@@ -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 )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user