mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-05 12:43:36 +00:00
Hide the lobby player list when using new widgts.
Before only the lists where hidden now the entire widget.
This commit is contained in:
parent
8b2eb43b5f
commit
d6e2cc5f38
@ -330,6 +330,7 @@
|
||||
horizontal_grow = "true"
|
||||
vertical_grow = "true"
|
||||
[scrollbar_panel]
|
||||
id = "old_player_list"
|
||||
horizontal_scrollbar_mode = "never"
|
||||
vertical_scrollbar_mode = "auto"
|
||||
[definition]
|
||||
|
@ -177,10 +177,8 @@ void tplayer_list::init(gui2::twindow &w)
|
||||
, new_widgets);
|
||||
|
||||
if(new_widgets) {
|
||||
active_game.list->set_visible(twidget::INVISIBLE);
|
||||
active_room.list->set_visible(twidget::INVISIBLE);
|
||||
other_rooms.list->set_visible(twidget::INVISIBLE);
|
||||
other_games.list->set_visible(twidget::INVISIBLE);
|
||||
find_widget<twidget>(&w, "old_player_list", false)
|
||||
.set_visible(twidget::INVISIBLE);
|
||||
}
|
||||
if(!new_widgets && tree) {
|
||||
tree->set_visible(twidget::INVISIBLE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user