diff --git a/src/Mod/PartDesign/Gui/Workbench.cpp b/src/Mod/PartDesign/Gui/Workbench.cpp index e9581401a..b51948564 100644 --- a/src/Mod/PartDesign/Gui/Workbench.cpp +++ b/src/Mod/PartDesign/Gui/Workbench.cpp @@ -77,7 +77,7 @@ PartDesign::Body *getBody(void) { PartDesign::Body * activeBody = Gui::Application::Instance->activeView()->getActiveObject("Body"); - if (activeBody){ + if (!activeBody){ QMessageBox::warning(Gui::getMainWindow(), QObject::tr("No active Body"), QObject::tr("In order to use PartDesign you need an active Body object in the document. " "Please make one active (double click) or create one. If you have a legacy document "