From 8fb5da86b40d70136f7012d593aa992667fc4115 Mon Sep 17 00:00:00 2001 From: wmayer Date: Tue, 2 Jun 2020 08:22:24 +0200 Subject: [PATCH] Gui: [skip ci] in QuantitySpinBox first set pendingEmit to false before actually emitting the signals --- src/Gui/QuantitySpinBox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Gui/QuantitySpinBox.cpp b/src/Gui/QuantitySpinBox.cpp index 222f3bfe0b..86d8ac8668 100644 --- a/src/Gui/QuantitySpinBox.cpp +++ b/src/Gui/QuantitySpinBox.cpp @@ -639,9 +639,9 @@ void QuantitySpinBox::handlePendingEmit() d->quantity = res; // signaling + d->pendingEmit = false; valueChanged(res); valueChanged(res.getValue()); - d->pendingEmit = false; } }