From 82ccc23ad03ed8acb8e041e33a1c0e25f85826f7 Mon Sep 17 00:00:00 2001 From: Osmium Sorcerer Date: Sun, 22 Mar 2026 17:58:32 +0000 Subject: 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. --- src/lobby.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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() -- cgit