diff options
author | Degranon <boba09@list.ru> | 2025-02-03 18:50:12 +0100 |
---|---|---|
committer | Degranon <boba09@list.ru> | 2025-02-03 18:50:12 +0100 |
commit | 017441cb88c7748d3808867e9bb8cfb8ac21ec90 (patch) | |
tree | 91e48fe9416c443cd732f40ae33db06bde45129d /source/frontend | |
parent | c1e0865f2f1e842ef94bb85b3a1c8b13ebb76ba2 (diff) |
Focus on the password field when selecting the servers
Diffstat (limited to 'source/frontend')
-rw-r--r-- | source/frontend/StarTitleScreen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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(); } }); |