Commit 74c9ca16 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum

[FIX #278] ensure the main gl widget always gets shown on startup to ensure proper startup

parent 49c155bd
......@@ -449,6 +449,10 @@ void WMainWindow::setupGUI()
// after creating the GUI, restore its saved state
restoreSavedState();
// this ensures that there is always at least the main window visible. Removing this might cause a freeze on startup if the user has closed
// all gl widgets during the last session.
mainGLDock->setVisible( true );
}
void WMainWindow::autoAdd( boost::shared_ptr< WModule > module, std::string proto, bool onlyOnce )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment