fix: call chatBar.focusInputField() instead of chatBar.focus()

possibly left out when refactoring
This commit is contained in:
Srevin Saju
2021-04-10 00:38:22 +03:00
parent 66545dbc31
commit 23b7945f4c

View File

@@ -121,7 +121,7 @@ Kirigami.ScrollablePage {
} else if (!(event.modifiers & Qt.ControlModifier) && event.key < Qt.Key_Escape) {
event.accepted = true;
chatBox.addText(event.text);
chatBox.focus();
chatBox.focusInputField();
return;
}
}