mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-31 09:14:11 -05:00
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:
12 files changed
+104
-30
No files matched your search
@@ -1120,6 +1120,13 @@ RiuPlotMainWindow* RiaGuiApplication::getOrCreateAndShowMainPlotWindow()
|
||||
createMainPlotWindow();
|
||||
m_mainPlotWindow->initializeGuiNewProjectLoaded();
|
||||
loadAndUpdatePlotData();
|
||||
if ( m_project )
|
||||
{
|
||||
if ( !m_mainPlotWindow->restoreDockWidgetState( m_project->plotWindowDockState ) )
|
||||
{
|
||||
RiuDockWidgetTools::setDockLayout( m_mainPlotWindow, RiuDockWidgetTools::dockStatePlotWindowName() );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if ( m_mainPlotWindow->isMinimized() )
|
||||
|
||||
Reference in new issue
Block a user