diff --git a/src/qml/common/BetterSpinBox.qml b/src/qml/common/BetterSpinBox.qml index 2f88acf1..a58fa52d 100644 --- a/src/qml/common/BetterSpinBox.qml +++ b/src/qml/common/BetterSpinBox.qml @@ -5,5 +5,7 @@ import QtQuick.Controls 2.3 SpinBox { implicitHeight: 30 editable: true - textFromValue: function(value, locale) { return value } + textFromValue: renderText + + function renderText(value, locale) { return value } }