Use Shift+Enter instead of Ctrl+Enter to add newline to in-progress SMS message
This commit is contained in:
parent
037543e42b
commit
a922ca570d
1 changed files with 1 additions and 1 deletions
|
@ -156,7 +156,7 @@ Kirigami.ScrollablePage
|
||||||
background: Item {}
|
background: Item {}
|
||||||
Keys.onReturnPressed: {
|
Keys.onReturnPressed: {
|
||||||
if (event.key === Qt.Key_Return) {
|
if (event.key === Qt.Key_Return) {
|
||||||
if (event.modifiers & Qt.ControlModifier) {
|
if (event.modifiers & Qt.ShiftModifier) {
|
||||||
messageField.append("")
|
messageField.append("")
|
||||||
} else {
|
} else {
|
||||||
sendButton.onClicked()
|
sendButton.onClicked()
|
||||||
|
|
Loading…
Reference in a new issue