mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-29 14:02:57 +00:00
tlobby_main: removed obsolete tree view folding toggle hack
This commit is contained in:
parent
077e4f3789
commit
8cdc1ab081
@ -149,21 +149,6 @@ void tplayer_list::init(gui2::twindow& w)
|
||||
|
||||
find_widget<twidget>(&w, "old_player_list", false)
|
||||
.set_visible(twidget::tvisible::invisible);
|
||||
|
||||
/**
|
||||
* @todo This is a hack to fold the items.
|
||||
*
|
||||
* This hack can be removed when folding is properly implemented.
|
||||
*/
|
||||
assert(active_room.tree);
|
||||
find_widget<ttoggle_button>(active_room.tree, "tree_view_node_icon", false)
|
||||
.set_value(true);
|
||||
assert(other_rooms.tree);
|
||||
find_widget<ttoggle_button>(other_rooms.tree, "tree_view_node_icon", false)
|
||||
.set_value(true);
|
||||
assert(other_games.tree);
|
||||
find_widget<ttoggle_button>(other_games.tree, "tree_view_node_icon", false)
|
||||
.set_value(true);
|
||||
}
|
||||
|
||||
void tplayer_list::update_sort_icons()
|
||||
|
Loading…
x
Reference in New Issue
Block a user