make newlobby window closing more robust by forcing...
...(possibly redundant) row and page selection in related listbox and multi_page
This commit is contained in:
parent
0b38544b31
commit
a8611a4830
1 changed files with 2 additions and 0 deletions
|
@ -545,7 +545,9 @@ void tlobby_main::close_window(size_t idx)
|
|||
}
|
||||
open_windows_.erase(open_windows_.begin() + idx);
|
||||
roomlistbox_->remove_row(idx);
|
||||
roomlistbox_->select_row(active_window_);
|
||||
chat_log_container_->remove_page(idx);
|
||||
chat_log_container_->select_page(active_window_);
|
||||
if (active_changed) active_window_changed();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue