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;
}
if (event.modifiers & Qt.ShiftModifier) {
insert(cursorPosition, "\n")
insert(cursorPosition, "<br />")
} else {
postMessage(text)
text = ""