mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-13 00:42:12 -05:00
Summary Cross Plot. Hide Paste Excel data for cross plots
This commit is contained in:
1 parent
0cce524af1
commit
e35a448dae
1 file changed
+5
-7
+5
-7
@@ -56,14 +56,12 @@ bool RicPasteAsciiDataToSummaryPlotFeature::isCommandEnabled()
|
||||
|
||||
RimSummaryPlot* summaryPlot = nullptr;
|
||||
destinationObject->firstAncestorOrThisOfType(summaryPlot);
|
||||
if (!summaryPlot)
|
||||
|
||||
RimSummaryPlotCollection* summaryPlotCollection = nullptr;
|
||||
destinationObject->firstAncestorOrThisOfType(summaryPlotCollection);
|
||||
if (!summaryPlotCollection)
|
||||
{
|
||||
RimSummaryPlotCollection* summaryPlotCollection = nullptr;
|
||||
destinationObject->firstAncestorOrThisOfType(summaryPlotCollection);
|
||||
if (!summaryPlotCollection)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
return hasPastedText();
|
||||
|
||||
Reference in new issue
Block a user