From 2bf2449e4870f74903981a96b5f15ced6d48427e Mon Sep 17 00:00:00 2001 From: wmayer Date: Wed, 3 Jan 2018 19:43:17 +0100 Subject: [PATCH] +fixes #0003095: Manual migration from 0.16 models to 0.17 models not possible --- src/Mod/PartDesign/Gui/CommandBody.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Mod/PartDesign/Gui/CommandBody.cpp b/src/Mod/PartDesign/Gui/CommandBody.cpp index 4089e29b89..8ea795d54a 100644 --- a/src/Mod/PartDesign/Gui/CommandBody.cpp +++ b/src/Mod/PartDesign/Gui/CommandBody.cpp @@ -99,8 +99,10 @@ CmdPartDesignBody::CmdPartDesignBody() void CmdPartDesignBody::activated(int iMsg) { Q_UNUSED(iMsg); - if ( !PartDesignGui::assureModernWorkflow( getDocument() ) ) + // if user decides for old-style workflow then abort the command + if (PartDesignGui::assureLegacyWorkflow(getDocument())) return; + App::Part *actPart = PartDesignGui::getActivePart (); App::Part* partOfBaseFeature = nullptr;