Fix mouse cursor shape in TextInputField
Should be IBeamCursor, unless readonly (same behaviour as standard QML TextField)
This commit is contained in:
parent
b5b2ae6625
commit
2f16128eef
1 changed files with 1 additions and 0 deletions
|
@ -283,6 +283,7 @@ FocusScope {
|
|||
|
||||
propagateComposedEvents: true
|
||||
hoverEnabled: true
|
||||
cursorShape: root.readOnly ? Qt.ArrowCursor : Qt.IBeamCursor
|
||||
|
||||
onPressed: function(mouse) {
|
||||
root.ensureActiveFocus()
|
||||
|
|
Loading…
Reference in a new issue