mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5598 Delete Analysis Plot command
This commit is contained in:
@@ -75,6 +75,7 @@
|
||||
#include "cafPdmReferenceHelper.h"
|
||||
#include "cafSelectionManager.h"
|
||||
|
||||
#include "RimAnalysisPlot.h"
|
||||
#include <QAction>
|
||||
|
||||
CAF_CMD_SOURCE_INIT( RicDeleteItemFeature, "RicDeleteItemFeature" );
|
||||
@@ -152,6 +153,7 @@ bool isDeletable( caf::PdmUiItem* uiItem )
|
||||
if ( dynamic_cast<RimGridCrossPlot*>( uiItem ) ) return true;
|
||||
|
||||
if ( dynamic_cast<RimGridCrossPlotDataSet*>( uiItem ) ) return true;
|
||||
if ( dynamic_cast<RimAnalysisPlot*>( uiItem ) ) return true;
|
||||
|
||||
if ( dynamic_cast<RimMultiPlot*>( uiItem ) ) return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user