From 017441cb88c7748d3808867e9bb8cfb8ac21ec90 Mon Sep 17 00:00:00 2001 From: Degranon Date: Mon, 3 Feb 2025 18:50:12 +0100 Subject: Focus on the password field when selecting the servers --- source/frontend/StarTitleScreen.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/frontend') diff --git a/source/frontend/StarTitleScreen.cpp b/source/frontend/StarTitleScreen.cpp index 747744c..a32b51a 100644 --- a/source/frontend/StarTitleScreen.cpp +++ b/source/frontend/StarTitleScreen.cpp @@ -384,6 +384,9 @@ void TitleScreen::initMultiPlayerMenu() { setMultiPlayerPort(data.getString("port", "")); setMultiPlayerAccount(data.getString("account", "")); setMultiPlayerPassword(data.getString("password", "")); + + if (auto passwordWidget = m_multiPlayerMenu->fetchChild("password")) + passwordWidget->focus(); } }); -- cgit v1.2.3