[network/kaidan] src/qml: RosterPage: Fix focusing message input field of already opened chat

Melvin Keskin <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 4e8bed4d77d61e1eb7fe7124073d088d2edd68eb by Melvin Keskin.
Committed on 21/07/2026 at 21:31.
Pushed by melvo into branch 'master'.

RosterPage: Fix focusing message input field of already opened chat

M  +1    -0    src/qml/RosterPage.qml

https://invent.kde.org/network/kaidan/-/commit/4e8bed4d77d61e1eb7fe7124073d088d2edd68eb

diff --git a/src/qml/RosterPage.qml b/src/qml/RosterPage.qml
index 53fcce7dd..a54c77d6e 100644
--- a/src/qml/RosterPage.qml
+++ b/src/qml/RosterPage.qml
@@ -85,6 +85,7 @@ SearchBarPage {
 				if (active) {
 					if (!pageStack.wideMode) {
 						pageStack.goForward()
+						root.activeChatPage.forceActiveFocus()
 					}
 				} else {
 					// Emitting the signal is needed because there are slots in other places.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.