Dock system selection improvements and fixes (#14305)

* Make sure we don't trigger another select when a view in the project tree is selected.
* Fix for #14255 and related issues
* Make sure we can close and open a main window, keeping the layout when reopened.
This commit is contained in:
JJ authored and GitHub committed 2026-06-24 16:07:21 +02:00
1 parent ac97f76e97
commit 82aa009378
12 files changed
+104 -30

No files matched your search

@@ -351,8 +351,13 @@ void RiuMainWindow::closeEvent( QCloseEvent* event )
return;
}
}
saveWinGeoAndDockToolBarLayout();
QMainWindow::closeEvent( event );
if ( auto proj = RimProject::current() )
{
proj->mainWindowDockState = dockWidgetStateString();
}
RiuMainWindowBase::closeEvent( event );
}
//--------------------------------------------------------------------------------------------------