mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#846 If plot window is hidden, do not open plot window when loading case with summary data
This commit is contained in:
@@ -1437,6 +1437,11 @@ bool RiaApplication::tryCloseMainWindow()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RiaApplication::tryClosePlotWindow()
|
||||
{
|
||||
if (!m_mainPlotWindow)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
if (m_mainPlotWindow && !m_mainPlotWindow->isVisible())
|
||||
{
|
||||
m_mainPlotWindow->close();
|
||||
|
||||
Reference in New Issue
Block a user