mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Summary : Make sure loading of plot data is only done once
This commit is contained in:
parent
07a38b6eaf
commit
73e4174fe7
@ -382,7 +382,15 @@ bool RiaApplication::loadProject(const QString& projectFileName, ProjectLoadActi
|
||||
|
||||
if (m_project->showPlotWindow())
|
||||
{
|
||||
RiaApplication::instance()->getOrCreateAndShowMainPlotWindow();
|
||||
if (!m_mainPlotWindow)
|
||||
{
|
||||
createMainPlotWindow();
|
||||
}
|
||||
else
|
||||
{
|
||||
m_mainPlotWindow->show();
|
||||
m_mainPlotWindow->raise();
|
||||
}
|
||||
}
|
||||
else if (mainPlotWindow())
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user