+fixes #0003095: Manual migration from 0.16 models to 0.17 models not possible

This commit is contained in:
wmayer
2018-01-03 19:43:17 +01:00
parent eafabcddc8
commit 2bf2449e48

View File

@@ -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;