From 4169e94b697c08cbc5427661498d2d1b9657a6ec Mon Sep 17 00:00:00 2001 From: Bernd Hahnebach Date: Fri, 17 Feb 2017 20:36:11 +0100 Subject: [PATCH] Part: code formating, white spaces --- src/Mod/Part/Gui/Workbench.cpp | 2 +- src/Mod/Part/InitGui.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Mod/Part/Gui/Workbench.cpp b/src/Mod/Part/Gui/Workbench.cpp index 769f69280c..1a79f17425 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 6d1a54cf64..1d49894489 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 @@ class PartWorkbench ( Workbench ): 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"