Fix rebase mistake, application startup related

Caused docking restore problems, and probably toolbar state restoration
too.
See post 116 of thread "Test Request: Part Design Workflow" (
http://forum.freecadweb.org/viewtopic.php?f=20&t=11205&start=110#p95619
)
This commit is contained in:
DeepSOIC 2015-07-23 21:40:30 +03:00 committed by Stefan Tröger
parent f509e1b0f1
commit e587cb8a5d

View File

@ -1752,7 +1752,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) {
@ -1784,9 +1784,6 @@ void Application::runApplication(void)
SoDebugError::setHandlerCallback( messageHandlerCoin, 0 );
#endif
app.activateWorkbench(start.c_str());
Instance->d->startingUp = false;