mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-20 12:59:46 -06:00
#1257 More null pointer guards based on CppCheck
This commit is contained in:
1 parent
bf1f8fcbaa
commit
48599f7a94
6 files changed
+28
-17
No files matched your search
@@ -61,7 +61,7 @@ void RimGridCollection::fieldChangedByUi(const caf::PdmFieldHandle* changedField
|
||||
this->firstAncestorOrThisOfType(rimView);
|
||||
CVF_ASSERT(rimView);
|
||||
|
||||
rimView->showGridCells(isActive);
|
||||
if (rimView) rimView->showGridCells(isActive);
|
||||
|
||||
updateUiIconFromState(isActive);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user