mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-13 17:05:59 -06:00
#849 Hide main window instead of close to avoid rebuild of contained project
This commit is contained in:
parent
b4d6e40247
commit
e87788d138
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user