From 25a8da8259643f89fb3a16b871050126c8997ea9 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Fri, 19 Jan 2024 17:54:33 +0200 Subject: [PATCH] Add way to disable mirror line. --- src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp index f528c9c56..81c01de54 100644 --- a/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp +++ b/src/libs/vtools/dialogs/tools/piece/dialogseamallowance.cpp @@ -36,6 +36,7 @@ #include "../../support/dialogeditlabel.h" #include "../../support/dialogeditwrongformula.h" #include "../vgeometry/vplacelabelitem.h" +#include "../vmisc/def.h" #include "../vmisc/theme/vtheme.h" #include "../vmisc/typedef.h" #include "../vmisc/vabstractvalapplication.h" @@ -49,7 +50,6 @@ #include "../vpatterndb/vpiecenode.h" #include "../vpatterndb/vpiecepath.h" #include "../vwidgets/fancytabbar/fancytabbar.h" -#include "def.h" #include "dialogpatternmaterials.h" #include "dialogpiecepath.h" #include "dialogplacelabel.h" @@ -4039,6 +4039,8 @@ void DialogSeamAllowance::InitMirrorLinePoint(QComboBox *box) box->blockSignals(true); box->clear(); + box->addItem(tr("None"), QUuid()); + const QVector nodes = GetListInternals(uiTabPaths->listWidgetMainPath); for (const auto &node : nodes)