mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fixed crash on project close introduced by update of MDI window title with Primary/Controlled
This commit is contained in:
@@ -305,7 +305,8 @@ QString RimViewLinker::displayNameForView( RimGridView* view )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimViewLinker::setMasterView( RimGridView* view )
|
||||
{
|
||||
RimViewController* previousViewController = view->viewController();
|
||||
RimViewController* previousViewController = nullptr;
|
||||
if (view) previousViewController = view->viewController();
|
||||
|
||||
// Remove the view as dependent view
|
||||
if ( previousViewController )
|
||||
|
||||
Reference in New Issue
Block a user