Fix regression with Enter+Shif in ChatTextInput

This commit is contained in:
Carl Schwan
2020-11-27 00:45:13 +01:00
parent 962c1d8d75
commit 139d9e93e0

View File

@@ -285,7 +285,7 @@ ToolBar {
return; return;
} }
if (event.modifiers & Qt.ShiftModifier) { if (event.modifiers & Qt.ShiftModifier) {
insert(cursorPosition, "\n") insert(cursorPosition, "<br />")
} else { } else {
postMessage(text) postMessage(text)
text = "" text = ""