mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 17:32:13 -05:00
#849 Hide main window instead of close to avoid rebuild of contained project
This commit is contained in:
1 parent
b4d6e40247
commit
e87788d138
1 file changed
+2
-2
@@ -376,7 +376,7 @@ bool RiaApplication::loadProject(const QString& projectFileName, ProjectLoadActi
|
||||
}
|
||||
else
|
||||
{
|
||||
RiuMainWindow::instance()->close();
|
||||
RiuMainWindow::instance()->hide();
|
||||
}
|
||||
|
||||
if (m_project->showPlotWindow())
|
||||
@@ -385,7 +385,7 @@ bool RiaApplication::loadProject(const QString& projectFileName, ProjectLoadActi
|
||||
}
|
||||
else if (mainPlotWindow())
|
||||
{
|
||||
mainPlotWindow()->close();
|
||||
mainPlotWindow()->hide();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user