mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Fix tile windows command, and make sure logger is reconnected to 3d view if it is closed and reopened
This commit is contained in:
committed by
Magne Sjaastad
parent
000605bd99
commit
8c835b5568
@@ -969,6 +969,13 @@ void RiaGuiApplication::createMainWindow()
|
||||
m_mainWindow->setDefaultToolbarVisibility();
|
||||
m_mainWindow->loadWinGeoAndDockToolBarLayout();
|
||||
m_mainWindow->showWindow();
|
||||
|
||||
// if there is an existing logger, reconnect to it
|
||||
auto logger = dynamic_cast<RiuMessagePanelLogger*>( RiaLogging::loggerInstance() );
|
||||
if ( logger )
|
||||
{
|
||||
logger->addMessagePanel( m_mainWindow->messagePanel() );
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user