From 23b7945f4cbcb36048d4638b6f1613ecad8a74a6 Mon Sep 17 00:00:00 2001 From: Srevin Saju Date: Sat, 10 Apr 2021 00:38:22 +0300 Subject: [PATCH] fix: call chatBar.focusInputField() instead of chatBar.focus() possibly left out when refactoring --- imports/NeoChat/Page/RoomPage.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imports/NeoChat/Page/RoomPage.qml b/imports/NeoChat/Page/RoomPage.qml index c602e3dbf..c5e091e02 100644 --- a/imports/NeoChat/Page/RoomPage.qml +++ b/imports/NeoChat/Page/RoomPage.qml @@ -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; } }