Fixed missing update of icons during removeOverrides()

This commit is contained in:
Magne Sjaastad 2015-11-02 14:06:38 +01:00
parent 562c6ad8ac
commit 7d83c5a06a

View File

@ -314,6 +314,19 @@ void RimViewController::updateOverrides()
void RimViewController::removeOverrides()
{
removeOverrides(m_managedView);
RimEclipseView* manEclView = managedEclipseView();
RimGeoMechView* manGeoView = managedGeoView();
if (manGeoView)
{
manGeoView->updateIconStateForFilterCollections();
}
if (manEclView)
{
manEclView->updateIconStateForFilterCollections();
}
}
//--------------------------------------------------------------------------------------------------
///