mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1002 System : Improve restore of main windows from minimized state
This commit is contained in:
@@ -1507,7 +1507,16 @@ RiuMainPlotWindow* RiaApplication::getOrCreateAndShowMainPlotWindow()
|
||||
loadAndUpdatePlotData();
|
||||
}
|
||||
|
||||
m_mainPlotWindow->show();
|
||||
if (m_mainPlotWindow->isMinimized())
|
||||
{
|
||||
m_mainPlotWindow->showNormal();
|
||||
m_mainPlotWindow->update();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_mainPlotWindow->show();
|
||||
}
|
||||
|
||||
m_mainPlotWindow->raise();
|
||||
|
||||
return m_mainPlotWindow;
|
||||
|
||||
Reference in New Issue
Block a user