Ladybird: Don't change window icons when background tabs change icons

This commit is contained in:
Gunnar Beutner 2022-11-07 19:05:57 +01:00 committed by Andrew Kaster
parent 5f3b82dcba
commit acd70f44c2
Notes: sideshowbarker 2024-07-17 17:40:13 +09:00

View file

@ -346,7 +346,8 @@ void BrowserWindow::tab_title_changed(int index, QString const& title)
void BrowserWindow::tab_favicon_changed(int index, QIcon icon)
{
m_tabs_container->setTabIcon(index, icon);
setWindowIcon(icon);
if (m_tabs_container->currentIndex() == index)
setWindowIcon(icon);
}
void BrowserWindow::open_next_tab()