From 0ffd46215c1e0f1cb3ed1dfa47a4dc36c1f24bcf Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 18 Jun 2019 19:22:08 +0300 Subject: [PATCH] Fix for tool Flipping by axis. --HG-- branch : develop --- src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp | 1 + src/libs/vtools/dialogs/tools/dialogtool.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp b/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp index bcc0782be..86189cfda 100644 --- a/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp +++ b/src/libs/vtools/dialogs/tools/dialogflippingbyaxis.cpp @@ -181,6 +181,7 @@ void DialogFlippingByAxis::ShowDialog(bool click) } else if (not stage1 && prepare && click) { + CheckState(); setModal(true); emit ToolTip(QString()); show(); diff --git a/src/libs/vtools/dialogs/tools/dialogtool.cpp b/src/libs/vtools/dialogs/tools/dialogtool.cpp index 8b9793e29..7f5e05621 100644 --- a/src/libs/vtools/dialogs/tools/dialogtool.cpp +++ b/src/libs/vtools/dialogs/tools/dialogtool.cpp @@ -874,6 +874,7 @@ void DialogTool::FillCombo(QComboBox *box, GOType gType, FillComboBox rule, cons } } FillList(box, list); + box->setCurrentIndex(-1); box->blockSignals(false); }