#3558 Grid items in Project Tree : Mark show main grid as obsolete, and propagate setting to RimGridCollection

This commit is contained in:
Magne Sjaastad committed 2018-11-05 14:42:39 +01:00
1 parent 937dacd7df
commit b74a7b9683
4 files changed
+29

No files matched your search

@@ -82,6 +82,14 @@ void RimGridInfo::setIndex(int index)
m_gridIndex = index;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimGridInfo::setActive(bool active)
{
m_isActive = active;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -399,6 +407,14 @@ void RimGridCollection::syncFromMainGrid()
updateConnectedEditors();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimGridCollection::setMainGridActive(bool active)
{
m_mainGrid()->setActive(active);
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------