Revert "Gui: [skip ci] fix a small regression caused by PR #5232 (or commit 7d649fe55)"
This reverts commit 350de2e367ed955b466ad7779b464b0fba79fe55.
This commit is contained in:
@@ -778,7 +778,8 @@ void QuantitySpinBox::stepBy(int steps)
|
||||
else if (val < d->minimum)
|
||||
val = d->minimum;
|
||||
|
||||
lineEdit()->setText(QString::fromUtf8("%L1 %2").arg(val).arg(d->unitStr));
|
||||
Quantity quant(val, d->unitStr);
|
||||
updateText(quant);
|
||||
updateFromCache(true);
|
||||
update();
|
||||
selectNumber();
|
||||
|
||||
Reference in New Issue
Block a user