Commit 97ddced3 authored by Ronan Abhamon's avatar Ronan Abhamon

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

parent 3a1bd6a2
...@@ -79,6 +79,7 @@ Item { ...@@ -79,6 +79,7 @@ Item {
insert(cursorPosition, '') insert(cursorPosition, '')
} else if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) { } else if (event.key === Qt.Key_Return || event.key === Qt.Key_Enter) {
handleValidation() handleValidation()
event.accepted = true
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment