mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:17:44 +00:00
Ladybird: Don't change window icons when background tabs change icons
This commit is contained in:
parent
5f3b82dcba
commit
acd70f44c2
1 changed files with 2 additions and 1 deletions
|
@ -346,6 +346,7 @@ void BrowserWindow::tab_title_changed(int index, QString const& title)
|
||||||
void BrowserWindow::tab_favicon_changed(int index, QIcon icon)
|
void BrowserWindow::tab_favicon_changed(int index, QIcon icon)
|
||||||
{
|
{
|
||||||
m_tabs_container->setTabIcon(index, icon);
|
m_tabs_container->setTabIcon(index, icon);
|
||||||
|
if (m_tabs_container->currentIndex() == index)
|
||||||
setWindowIcon(icon);
|
setWindowIcon(icon);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue