Slightly change start up code to run Workbench activate later and some implementations
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user