reset back to the first tab
This commit is contained in:
parent
c6126104d4
commit
75be23ad3f
1 changed files with 1 additions and 0 deletions
|
@ -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")) {
|
||||
|
|
Loading…
Add table
Reference in a new issue