mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1948 PLT Plot. Display curves from well log file
This commit is contained in:
@@ -66,12 +66,12 @@ bool RicNewPltPlotFeature::isCommandEnabled()
|
||||
RimEclipseResultCase* eclCase = caf::firstAncestorOfTypeFromSelectedObject<RimEclipseResultCase*>();
|
||||
if (simWell != nullptr)
|
||||
{
|
||||
enable &= RimWellPltPlot::hasPressureData(eclCase);
|
||||
enable &= RimWellPltPlot::hasFlowData(eclCase);
|
||||
}
|
||||
}
|
||||
else if (rimWellPath)
|
||||
{
|
||||
enable &= RimWellPltPlot::hasPressureData(rimWellPath);
|
||||
enable &= RimWellPltPlot::hasFlowData(rimWellPath);
|
||||
}
|
||||
return enable;
|
||||
}
|
||||
@@ -110,7 +110,7 @@ void RicNewPltPlotFeature::onActionTriggered(bool isChecked)
|
||||
pltPlotColl->addPlot(pltPlot);
|
||||
pltPlot->setDescription(plotName);
|
||||
|
||||
pltPlot->applyInitialSelections();
|
||||
//pltPlot->applyInitialSelections();
|
||||
pltPlot->loadDataAndUpdate();
|
||||
pltPlotColl->updateConnectedEditors();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user