Slightly change start up code to run Workbench activate later and some implementations

This commit is contained in:
jriegel
2012-04-05 20:47:02 +02:00
committed by Stefan Tröger
parent 29507a44ed
commit d5663b4122
6 changed files with 43 additions and 7 deletions

View File

@@ -1734,7 +1734,7 @@ void Application::runApplication(void)
// Call this before showing the main window because otherwise:
// 1. it shows a white window for a few seconds which doesn't look nice
// 2. the layout of the toolbars is completely broken
app.activateWorkbench(start.c_str());
//app.activateWorkbench(start.c_str());
// show the main window
if (!hidden) {
@@ -1766,6 +1766,9 @@ void Application::runApplication(void)
SoDebugError::setHandlerCallback( messageHandlerCoin, 0 );
#endif
app.activateWorkbench(start.c_str());
Instance->d->startingUp = false;