From afc84ed8f7053214900a4feed35704230f56089f Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 15 Aug 2012 10:24:49 +0200 Subject: [PATCH] Add measure distance tool to toolbar in Complete workbench, disable unused command --- src/Gui/CommandStd.cpp | 2 +- src/Mod/Complete/Gui/Workbench.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Gui/CommandStd.cpp b/src/Gui/CommandStd.cpp index dba6d5f71..4bb0148a2 100644 --- a/src/Gui/CommandStd.cpp +++ b/src/Gui/CommandStd.cpp @@ -576,7 +576,7 @@ void CreateStdCommands(void) rcCmdMgr.addCommand(new StdCmdOnlineHelpWebsite()); rcCmdMgr.addCommand(new StdCmdFreeCADWebsite()); rcCmdMgr.addCommand(new StdCmdPythonWebsite()); - rcCmdMgr.addCommand(new StdCmdMeasurementSimple()); + //rcCmdMgr.addCommand(new StdCmdMeasurementSimple()); //rcCmdMgr.addCommand(new StdCmdDownloadOnlineHelp()); //rcCmdMgr.addCommand(new StdCmdDescription()); } diff --git a/src/Mod/Complete/Gui/Workbench.cpp b/src/Mod/Complete/Gui/Workbench.cpp index 149f50ea5..d51928c2f 100644 --- a/src/Mod/Complete/Gui/Workbench.cpp +++ b/src/Mod/Complete/Gui/Workbench.cpp @@ -452,7 +452,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const view->setCommand("View"); *view << "Std_ViewFitAll" << "Separator" << "Std_ViewAxo" << "Separator" << "Std_ViewFront" << "Std_ViewRight" << "Std_ViewTop" << "Separator" << "Std_ViewRear" << "Std_ViewLeft" - << "Std_ViewBottom"; + << "Std_ViewBottom" << "Separator" << "Std_MeasureDistance"; // Part Design Gui::ToolBarItem* part_design = new Gui::ToolBarItem( root );