mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1996 Renaming. Remove unused includes and rename local variables
This commit is contained in:
@@ -78,14 +78,14 @@ bool RicNewRftPlotFeature::isCommandEnabled()
|
||||
|
||||
//int branchIndex;
|
||||
|
||||
auto eclWell = selectedPdmObject<RimSimWellInView*>();
|
||||
auto rimWellPath = eclWell == nullptr ? selectedPdmObject<RimWellPath*>() : nullptr;
|
||||
RimSimWellInView* simWell = selectedPdmObject<RimSimWellInView*>();
|
||||
RimWellPath* rimWellPath = simWell == nullptr ? selectedPdmObject<RimWellPath*>() : nullptr;
|
||||
|
||||
bool enable = true;
|
||||
if (eclWell != nullptr)
|
||||
if (simWell != nullptr)
|
||||
{
|
||||
auto eclCase = selectedPdmObject<RimEclipseResultCase*>();
|
||||
if (eclWell != nullptr)
|
||||
RimEclipseResultCase* eclCase = selectedPdmObject<RimEclipseResultCase*>();
|
||||
if (simWell != nullptr)
|
||||
{
|
||||
enable &= RimWellRftPlot::hasPressureData(eclCase);
|
||||
}
|
||||
|
||||
@@ -46,7 +46,7 @@ protected:
|
||||
private:
|
||||
RimWellLogTrack* selectedWellLogPlotTrack() const;
|
||||
RimWellPath* selectedWellPath() const;
|
||||
RimSimWellInView* selectedSimulationWell(int * branchIndex) const;
|
||||
RimSimWellInView* selectedSimulationWell(int * branchIndex) const;
|
||||
bool caseAvailable() const;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user