mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1981 RFT Plot. Disabled several commands
This commit is contained in:
@@ -47,6 +47,8 @@
|
||||
#include "RimPerforationInterval.h"
|
||||
#include "RimFlowCharacteristicsPlot.h"
|
||||
#include "RimAsciiDataCurve.h"
|
||||
#include "RimWellLogRftCurve.h"
|
||||
#include "RimWellRftPlot.h"
|
||||
|
||||
#ifdef USE_PROTOTYPE_FEATURE_FRACTURES
|
||||
#include "RimEllipseFractureTemplate.h"
|
||||
@@ -80,9 +82,11 @@ bool isDeletable(caf::PdmUiItem* uiItem)
|
||||
if (destinationObject)
|
||||
{
|
||||
RimWellAllocationPlot* wellAllocationPlot = nullptr;
|
||||
RimWellRftPlot* rftPlot = nullptr;
|
||||
destinationObject->firstAncestorOrThisOfType(wellAllocationPlot);
|
||||
destinationObject->firstAncestorOrThisOfType(rftPlot);
|
||||
|
||||
if (wellAllocationPlot)
|
||||
if (wellAllocationPlot || rftPlot)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user