aboutsummaryrefslogtreecommitdiff
path: root/src/lobby.cpp
diff options
context:
space:
mode:
authorCrystalwarrior <varsash@gmail.com>2021-02-17 15:15:40 +0300
committerCrystalwarrior <varsash@gmail.com>2021-02-17 15:15:40 +0300
commitb5f581eb5b336273c3e7976ac8f7c438fe454bb4 (patch)
tree4767235b98196cf864bd5742aeec4aa6ea03d9dc /src/lobby.cpp
parent63128fea1362b0fe2388ff0b85b9f1120806b332 (diff)
Revert bad "fix" of the sound names for WTCE courtroom_sounds.ini
Make pos dropdown ui editable for a custom pos Keep track of the custom pos index On switching from the custom pos, remove the entry at that index Fix regression causing the "sort by name" lobby server list header disappearing Expose column 0 for the # in the lobby server list header ("too ugly" just use lobby_stylesheets.css and pretty it up)
Diffstat (limited to 'src/lobby.cpp')
-rw-r--r--src/lobby.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lobby.cpp b/src/lobby.cpp
index 314874e5..2397c700 100644
--- a/src/lobby.cpp
+++ b/src/lobby.cpp
@@ -28,8 +28,8 @@ Lobby::Lobby(AOApplication *p_ao_app) : QMainWindow()
ui_server_list = new QTreeWidget(this);
ui_server_list->setHeaderLabels({"#", "Name"}); //, "Players"});
- ui_server_list->hideColumn(0);
- ui_server_list->setHeaderHidden(true);
+// ui_server_list->hideColumn(0);
+// ui_server_list->setHeaderHidden(true);
ui_server_search = new QLineEdit(this);
ui_server_search->setFrame(false);