mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
IRCClient: Fix window selection after GModelSelection changes
This commit is contained in:
parent
55bae788f0
commit
f8c0168adc
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ void IRCAppWindow::set_active_window(IRCWindow& window)
|
|||
m_container->set_active_widget(&window);
|
||||
window.clear_unread_count();
|
||||
auto index = m_window_list->model()->index(m_client.window_index(window));
|
||||
m_window_list->model()->set_selected_index(index);
|
||||
m_window_list->selection().set(index);
|
||||
}
|
||||
|
||||
void IRCAppWindow::update_part_action()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue