mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1813 Observed data: Remove right click options for observed data
This commit is contained in:
@@ -110,9 +110,12 @@ bool RicCutReferencesToClipboardFeature::isAnyCuttableObjectSelected()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicCutReferencesToClipboardFeature::isCuttingOfObjectSupported(caf::PdmObject* pdmObject)
|
||||
{
|
||||
if (dynamic_cast<RimSummaryCase*>(pdmObject))
|
||||
if (RimSummaryCase* summaryCase = dynamic_cast<RimSummaryCase*>(pdmObject))
|
||||
{
|
||||
return true;
|
||||
if (!summaryCase->isObservedData())
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user