mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06: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