Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.9.2
-
None
-
990862b162111d0002e38bc270aec48bb706d9fb
Description
Pressing the up and down buttons works but pressing enter or switching focus after editing text doesn't:
import QtQuick 2.7 import QtQuick.Controls 2.0 ApplicationWindow { visible: true width: 585 height: 113 title: qsTr("test") SpinBox { from: 1 to: 5120 editable: true stepSize: 1 onValueModified: print("modified") } }
Seems like it should be working based on this code:
http://code.qt.io/cgit/qt/qtquickcontrols2.git/tree/src/quicktemplates2/qquickspinbox.cpp#n848