1
Fork 0
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:
Andreas Kling 2019-09-07 20:01:37 +02:00
parent 55bae788f0
commit f8c0168adc

View file

@ -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()