diff --git a/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp b/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp index dc1ccd681e..7fc6292432 100644 --- a/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp +++ b/src/Mod/Sketcher/Gui/CommandCreateGeo.cpp @@ -91,21 +91,21 @@ using namespace std; using namespace SketcherGui; -#define CONSTRUCTION_UPDATE_ACTION(CLASS,ICON) \ +#define CONSTRUCTION_UPDATE_ACTION(CLASS, ICON) \ /* This macro creates an updateAction() function that will toggle between normal & construction icon */ \ - void CLASS::updateAction(int mode) \ - { \ - auto act = getAction(); \ - if (act) { \ - switch (mode) { \ - case Normal: \ - act->setIcon(Gui::BitmapFactory().iconFromTheme(ICON)); \ - break; \ - case Construction: \ - act->setIcon(Gui::BitmapFactory().iconFromTheme(ICON"_Constr")); \ - break; \ - } \ - } \ + void CLASS::updateAction(int mode) \ + { \ + auto act = getAction(); \ + if (act) { \ + switch (mode) { \ + case Normal: \ + act->setIcon(Gui::BitmapFactory().iconFromTheme(ICON)); \ + break; \ + case Construction: \ + act->setIcon(Gui::BitmapFactory().iconFromTheme(ICON "_Constr")); \ + break; \ + } \ + } \ } namespace SketcherGui {