diff --git a/src/Mod/PartDesign/Gui/Command.cpp b/src/Mod/PartDesign/Gui/Command.cpp index c110329d32..5c7644faaf 100644 --- a/src/Mod/PartDesign/Gui/Command.cpp +++ b/src/Mod/PartDesign/Gui/Command.cpp @@ -1832,10 +1832,10 @@ void CmdPartDesignMirrored::activated(int iMsg) if (!PartDesignGui::assureModernWorkflow(doc)) return; - PartDesign::Body *pcActiveBody = PartDesignGui::getBody(true); + PartDesign::Body *pcActiveBody = PartDesignGui::getBody(true); - if (!pcActiveBody) - return; + if (!pcActiveBody) + return; Gui::Command* cmd = this; auto worker = [this, cmd](std::string FeatName, std::vector features) {