Merge pull request 'Support multiline on Android' (#426) from user-feedback-elide into master
the build was successful
Details
the build was successful
Details
Reviewed-on: #426
This commit is contained in:
commit
38923ef814
|
@ -118,9 +118,9 @@ ColumnLayout {
|
||||||
property int previousCursor
|
property int previousCursor
|
||||||
|
|
||||||
Keys.onReturnPressed: {
|
Keys.onReturnPressed: {
|
||||||
if (gcd.os == "android") return
|
if (gcd.os == "android") {
|
||||||
|
txtMessage.insert(txtMessage.cursorPosition, "\n")
|
||||||
if (event.modifiers & Qt.ShiftModifier) {
|
} else if (event.modifiers & Qt.ShiftModifier) {
|
||||||
txtMessage.insert(txtMessage.cursorPosition, "\n")
|
txtMessage.insert(txtMessage.cursorPosition, "\n")
|
||||||
} else if (event.modifiers == Qt.NoModifier) {
|
} else if (event.modifiers == Qt.NoModifier) {
|
||||||
btnSend.clicked()
|
btnSend.clicked()
|
||||||
|
|
Reference in New Issue