diff options
author | Gunnar Beutner <gunnar@beutner.name> | 2022-11-07 19:05:57 +0100 |
---|---|---|
committer | Andrew Kaster <andrewdkaster@gmail.com> | 2022-12-25 07:58:58 -0700 |
commit | acd70f44c2501bcda04d9f8f8aefcc1c44056461 (patch) | |
tree | 84ae72a2da016334d1f5f7b2e4b8755b2ea41c26 /Ladybird | |
parent | 5f3b82dcba17547fbe0ea6664a267b4c11d9ddc7 (diff) | |
download | serenity-acd70f44c2501bcda04d9f8f8aefcc1c44056461.zip |
Ladybird: Don't change window icons when background tabs change icons
Diffstat (limited to 'Ladybird')
-rw-r--r-- | Ladybird/BrowserWindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Ladybird/BrowserWindow.cpp b/Ladybird/BrowserWindow.cpp index 551d083882..22e3fb56be 100644 --- a/Ladybird/BrowserWindow.cpp +++ b/Ladybird/BrowserWindow.cpp @@ -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() |