fix(ui/modules/Common/Form/ScrollableTextEdit): fix mouse pressed not detected on some cases

This commit is contained in:
Ronan Abhamon 2016-12-08 11:53:39 +01:00
parent f556fde80b
commit 507f8066e9

View file

@ -68,14 +68,12 @@ Item {
: TextEditStyle.textColor.normal
padding: ListFormStyle.value.text.padding
selectByMouse: true
width: flick.width
wrapMode: Text.Wrap
Keys.onEscapePressed: focus = false
Keys.onReturnPressed: focus = false
height: flick.height
width: flick.width
onCursorRectangleChanged: flick._ensureVisible(cursorRectangle)
onEditingFinished: _handleEditionFinished()
}