diff --git a/src/Mod/Part/Gui/Workbench.cpp b/src/Mod/Part/Gui/Workbench.cpp index 769f69280c75..1a79f17425e6 100644 --- a/src/Mod/Part/Gui/Workbench.cpp +++ b/src/Mod/Part/Gui/Workbench.cpp @@ -133,7 +133,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const *boolop << "Part_Boolean" << "Part_Cut" << "Part_Fuse" << "Part_Common" << "Part_CompJoinFeatures" << "Part_CompSplitFeatures" << "Part_CheckGeometry" << "Part_Section" << "Part_CrossSections"; - + Gui::ToolBarItem* measure = new Gui::ToolBarItem(root); measure->setCommand("Measure"); *measure << "Part_Measure_Linear" << "Part_Measure_Angular" << "Separator" << "Part_Measure_Clear_All" << "Part_Measure_Toggle_All" diff --git a/src/Mod/Part/InitGui.py b/src/Mod/Part/InitGui.py index 6d1a54cf64d8..1d49894489a1 100644 --- a/src/Mod/Part/InitGui.py +++ b/src/Mod/Part/InitGui.py @@ -1,4 +1,4 @@ -# Part gui init module +# Part gui init module # (c) 2003 Juergen Riegel # # Gathering all the information to start FreeCAD @@ -48,7 +48,7 @@ def Initialize(self): try: Part.BOPTools.addCommands() except Exception as err: - FreeCAD.Console.PrintError("Features from BOPTools package cannot be loaded. {err}\n".format(err= err.message)) + FreeCAD.Console.PrintError("Features from BOPTools package cannot be loaded. {err}\n".format(err= err.message)) def GetClassName(self): return "PartGui::Workbench"