Relocated the WB switcher to its original location

This commit is contained in:
Yorik van Havre 2015-11-25 13:50:38 -02:00
parent 3d6869bf68
commit e0f3bb00b8

View File

@ -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");