Use Shift+Enter instead of Ctrl+Enter to add newline to in-progress SMS message

This commit is contained in:
Simon Redman 2019-03-18 16:13:54 -06:00
parent 037543e42b
commit a922ca570d

View file

@ -156,7 +156,7 @@ Kirigami.ScrollablePage
background: Item {}
Keys.onReturnPressed: {
if (event.key === Qt.Key_Return) {
if (event.modifiers & Qt.ControlModifier) {
if (event.modifiers & Qt.ShiftModifier) {
messageField.append("")
} else {
sendButton.onClicked()