fix(ui/modules/Common/Form/DroppableTextArea): do not jump a line when a key return/enter is used

This commit is contained in:
Ronan Abhamon 2017-04-21 17:05:33 +02:00
parent 3a1bd6a2c9
commit 97ddced3e8

View file

@ -79,6 +79,7 @@ Item {
insert(cursorPosition, '')
} else if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) {
handleValidation()
event.accepted = true
}
}
}