reset back to the first tab

This commit is contained in:
pentarctagon 2024-03-26 00:11:16 -05:00 committed by Pentarctagon
parent c6126104d4
commit 75be23ad3f

View file

@ -138,6 +138,7 @@ bool mp_match_history::update_display()
listbox* tab_bar = find_widget<listbox>(get_window(), "tab_bar", false, true);
connect_signal_notify_modified(*tab_bar, std::bind(&mp_match_history::tab_switch_callback, this));
tab_bar->select_row(0);
int i = 0;
for(const config& game : history.mandatory_child("game_history_results").child_range("game_history_result")) {