fix: call chatBar.focusInputField() instead of chatBar.focus()
possibly left out when refactoring
This commit is contained in:
@@ -121,7 +121,7 @@ Kirigami.ScrollablePage {
|
|||||||
} else if (!(event.modifiers & Qt.ControlModifier) && event.key < Qt.Key_Escape) {
|
} else if (!(event.modifiers & Qt.ControlModifier) && event.key < Qt.Key_Escape) {
|
||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
chatBox.addText(event.text);
|
chatBox.addText(event.text);
|
||||||
chatBox.focus();
|
chatBox.focusInputField();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user