Gui: [skip ci] fix a small regression caused by PR #5232 (or commit 7d649fe55)
See also forum posting: https://forum.freecadweb.org/viewtopic.php?p=583303#p583303
This commit is contained in:
@@ -778,8 +778,7 @@ void QuantitySpinBox::stepBy(int steps)
|
||||
else if (val < d->minimum)
|
||||
val = d->minimum;
|
||||
|
||||
Quantity quant(val, d->unitStr);
|
||||
updateText(quant);
|
||||
lineEdit()->setText(QString::fromUtf8("%L1 %2").arg(val).arg(d->unitStr));
|
||||
updateFromCache(true);
|
||||
update();
|
||||
selectNumber();
|
||||
|
||||
Reference in New Issue
Block a user