diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-22 17:58:32 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-03-29 22:22:25 +0000 |
| commit | 82ccc23ad03ed8acb8e041e33a1c0e25f85826f7 (patch) | |
| tree | 8bf7afb01a782c5b0a3b10c34162d129580c598d | |
| parent | ce45b160c1a590b38d87e9d00cadc06260b2d311 (diff) | |
Open Favorites tab by default
Not a good universal change. But if you're using this client, you're
likely connecting to favorited servers either way, and you can always
add them from the MS.
That said, I don't want to keep it like that. One solution is to save
last opened tab with QSettings, and then restore it.
| -rw-r--r-- | src/lobby.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lobby.cpp b/src/lobby.cpp index 29101c6..8ea49fe 100644 --- a/src/lobby.cpp +++ b/src/lobby.cpp @@ -196,6 +196,8 @@ void Lobby::loadUI() l_tabbar->tabBar()->setExpanding(true); } } + // Open favorites tab by default. + ui_connections_tabview->setCurrentIndex(FAVORITES); } void Lobby::reloadUi() |
