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:
@@ -115,10 +115,10 @@ bool RicNewSimWellFractureFeature::isCommandEnabled()
|
||||
caf::PdmObjectHandle* objHandle = dynamic_cast<caf::PdmObjectHandle*>(pdmUiItem);
|
||||
if (!objHandle) return false;
|
||||
|
||||
RimSimWellInView* eclipseWell = nullptr;
|
||||
objHandle->firstAncestorOrThisOfType(eclipseWell);
|
||||
RimSimWellInView* simWell = nullptr;
|
||||
objHandle->firstAncestorOrThisOfType(simWell);
|
||||
|
||||
if (eclipseWell)
|
||||
if (simWell)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user