Fix MP lobby tab selection.

This commit is contained in:
Pentarctagon 2023-05-14 23:55:16 -05:00
parent 0f550369b3
commit 594f5b3d89

View file

@ -687,7 +687,7 @@ void mp_lobby::pre_show(window& window)
void mp_lobby::tab_switch_callback()
{
filter_auto_hosted_ = !filter_auto_hosted_;
filter_auto_hosted_ = find_widget<listbox>(get_window(), "games_list_tab_bar", false).get_selected_row() == 1;
update_gamelist_filter();
}