[network/kaidan/Kaidan/0.16] 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 d3b4c3e68730c272a838fbb56b39395089052bec by Melvin Keskin.
Committed on 21/07/2026 at 21:40.
Pushed by melvo into branch 'Kaidan/0.16'.

RosterPage: Fix focusing message input field of already opened chat

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

https://invent.kde.org/network/kaidan/-/commit/d3b4c3e68730c272a838fbb56b39395089052bec

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.