aboutsummaryrefslogtreecommitdiff
path: root/src/lobby.cpp
diff options
context:
space:
mode:
authorOsmium Sorcerer <os@sof.beauty>2026-03-22 17:58:32 +0000
committerOsmium Sorcerer <os@sof.beauty>2026-03-29 22:22:25 +0000
commit82ccc23ad03ed8acb8e041e33a1c0e25f85826f7 (patch)
tree8bf7afb01a782c5b0a3b10c34162d129580c598d /src/lobby.cpp
parentce45b160c1a590b38d87e9d00cadc06260b2d311 (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.
Diffstat (limited to 'src/lobby.cpp')
-rw-r--r--src/lobby.cpp2
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()