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:
@@ -38,7 +38,11 @@ CAF_CMD_SOURCE_INIT(RicNewWellLogPlotTrackFeature, "RicNewWellLogPlotTrackFeatur
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RicNewWellLogPlotTrackFeature::isCommandEnabled()
|
||||
{
|
||||
if (RicWellLogPlotCurveFeatureImpl::parentWellAllocationPlot()) return false;
|
||||
if (RicWellLogPlotCurveFeatureImpl::parentWellAllocationPlot() ||
|
||||
RicWellLogPlotCurveFeatureImpl::parentWellRftPlot())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return selectedWellLogPlot() != NULL;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user