From 7460cd5ebcbd208d3cfebe53f04ce2ce8dcdb46f Mon Sep 17 00:00:00 2001 From: donovaly Date: Sun, 8 Nov 2020 05:08:59 +0100 Subject: [PATCH] [part] remove a now misleading comment I added this comment when I read the dialog state fro the index of the type combobox, now we read the primitive's TypeID so the comment is misleading --- src/Mod/Part/Gui/DlgPrimitives.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Mod/Part/Gui/DlgPrimitives.cpp b/src/Mod/Part/Gui/DlgPrimitives.cpp index 5b720aed44..0a7230c897 100644 --- a/src/Mod/Part/Gui/DlgPrimitives.cpp +++ b/src/Mod/Part/Gui/DlgPrimitives.cpp @@ -848,9 +848,6 @@ void DlgPrimitives::accept(const QString& placement) .arg(QString::fromLatin1(doc->getName())) .arg(QString::fromLatin1(featurePtr->getNameInDocument())); - // the combox with the primitive type is fixed - // therefore by reading its state we know what we need to change - // read values from the properties if (type == Part::Plane::getClassTypeId()) { command = QString::fromLatin1(