mirror of
https://github.com/OPM/ResInsight.git
synced 2026-09-03 20:53:13 -05:00
Transformed static functions from ViewLinker to dynamic functions in RimView
This commit is contained in:
@@ -53,8 +53,8 @@ void RimGeoMechCellColors::updateIconState()
|
||||
RimView* rimView = NULL;
|
||||
this->firstAnchestorOrThisOfType(rimView);
|
||||
|
||||
RimViewController* viewLink = RimViewLinker::viewLinkForView(rimView);
|
||||
if (viewLink && viewLink->isResultColorControlled())
|
||||
RimViewController* viewController = rimView->viewController();
|
||||
if (viewController && viewController->isResultColorControlled())
|
||||
{
|
||||
updateUiIconFromState(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user