Add measure distance tool to toolbar in Complete workbench, disable unused command
This commit is contained in:
parent
b349147ea2
commit
afc84ed8f7
|
@ -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());
|
||||
}
|
||||
|
|
|
@ -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 );
|
||||
|
|
Loading…
Reference in New Issue
Block a user