From e0f3bb00b839220785fb0d05072a2b8a898b98fa Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 25 Nov 2015 13:50:38 -0200 Subject: [PATCH] Relocated the WB switcher to its original location --- src/Gui/Workbench.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Gui/Workbench.cpp b/src/Gui/Workbench.cpp index 9130d5fe96..3aaa66520d 100644 --- a/src/Gui/Workbench.cpp +++ b/src/Gui/Workbench.cpp @@ -570,11 +570,6 @@ ToolBarItem* StdWorkbench::setupToolBars() const { ToolBarItem* root = new ToolBarItem; - // Workbench switcher - ToolBarItem* wb = new ToolBarItem( root ); - wb->setCommand("Workbench"); - *wb << "Std_Workbench"; - // File ToolBarItem* file = new ToolBarItem( root ); file->setCommand("File"); @@ -582,6 +577,11 @@ ToolBarItem* StdWorkbench::setupToolBars() const << "Std_Copy" << "Std_Paste" << "Separator" << "Std_Undo" << "Std_Redo" << "Separator" << "Std_Refresh" << "Separator" << "Std_WhatsThis"; + // Workbench switcher + ToolBarItem* wb = new ToolBarItem( root ); + wb->setCommand("Workbench"); + *wb << "Std_Workbench"; + // Macro ToolBarItem* macro = new ToolBarItem( root ); macro->setCommand("Macro");