mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-15 01:42:13 -05:00
This commit is contained in:
1 parent
f80472ffa6
commit
b316e1ee83
5 files changed
+109
-8
No files matched your search
@@ -548,6 +548,21 @@ void RimViewLinker::addDependentView(RimGridView* view)
|
||||
viewContr->setManagedView(view);
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimViewLinker::isFirstViewDependentOnSecondView(const RimGridView* firstView, const RimGridView* secondView) const
|
||||
{
|
||||
for (const RimViewController* controller : m_viewControllers())
|
||||
{
|
||||
if (controller->masterView() == secondView && controller->managedView() == firstView)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user