#1981 RFT Plot. Disabled several commands

This commit is contained in:
Bjørn Erik Jensen committed 2017-10-10 11:18:53 +02:00
1 parent ac10f21597
commit 886c1ea256
10 files changed
+26 -6

No files matched your search

@@ -46,6 +46,7 @@ CAF_CMD_SOURCE_INIT(RicExportToLasFileFeature, "RicExportToLasFileFeature");
bool RicExportToLasFileFeature::isCommandEnabled()
{
if (RicWellLogPlotCurveFeatureImpl::parentWellAllocationPlot()) return false;
if (RicWellLogPlotCurveFeatureImpl::parentWellRftPlot()) return false;
return RicWellLogPlotCurveFeatureImpl::selectedWellLogCurves().size() > 0;
}