mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4313 Disable copy of grid cross plot curves
This commit is contained in:
parent
9834a421c8
commit
f4d341feac
@ -24,6 +24,7 @@
|
||||
#include "RimEnsembleCurveSet.h"
|
||||
#include "RimFractureTemplate.h"
|
||||
#include "RimGeoMechView.h"
|
||||
#include "RimGridCrossPlotCurve.h"
|
||||
#include "RimGridCrossPlotDataSet.h"
|
||||
#include "RimIntersection.h"
|
||||
#include "RimIntersectionBox.h"
|
||||
@ -151,7 +152,7 @@ bool RicCopyReferencesToClipboardFeature::isCopyOfObjectSupported(caf::PdmObject
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else if (dynamic_cast<RimPlotCurve*>(pdmObject))
|
||||
else if (dynamic_cast<RimPlotCurve*>(pdmObject) && !dynamic_cast<RimGridCrossPlotCurve*>(pdmObject))
|
||||
{
|
||||
if (!rftPlot) return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user