mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-05 13:47:06 -06:00
firstAnchestorOfType now considers the object itself as well.
It is thus renamed to firstAnchestorOrThisOfType
This commit is contained in:
1 parent
1719a10954
commit
f5d15c19e1
8 files changed
+21
-10
No files matched your search
@@ -44,7 +44,7 @@ public:
|
||||
caf::PdmObjectHandle* objHandle = uiFieldHandle->fieldHandle()->ownerObject();
|
||||
|
||||
RimEclipseView* view = NULL;
|
||||
objHandle->firstAncestorOfType(view);
|
||||
objHandle->firstAnchestorOrThisOfType(view);
|
||||
CVF_ASSERT(view);
|
||||
|
||||
view->scheduleGeometryRegen(PROPERTY_FILTERED);
|
||||
@@ -115,7 +115,7 @@ void RimEclipsePropertyFilterCollection::fieldChangedByUi(const caf::PdmFieldHan
|
||||
this->updateUiIconFromToggleField();
|
||||
|
||||
RimEclipseView* view = NULL;
|
||||
this->firstAncestorOfType(view);
|
||||
this->firstAnchestorOrThisOfType(view);
|
||||
CVF_ASSERT(view);
|
||||
|
||||
view->scheduleGeometryRegen(PROPERTY_FILTERED);
|
||||
|
||||
Reference in new issue
Block a user