diff options
author | Linus Groh <mail@linusgroh.de> | 2020-06-30 20:11:35 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-06-30 23:11:01 +0200 |
commit | 1cffa28f955b165b758497546a78e6b3bf24f4b1 (patch) | |
tree | 2c1a3cfe0b2d703e1b6e47206e98e6b0b8f56c2f /Applications | |
parent | 14477eb565f8c37d638ac5ef8780972bd39f4b5f (diff) | |
download | serenity-1cffa28f955b165b758497546a78e6b3bf24f4b1.zip |
Browser: Unset location bar icon on load start
This avoids having a stale icon from a previous page load in the
location box if a subsequently visited page doesn't trigger an icon
change.
Diffstat (limited to 'Applications')
-rw-r--r-- | Applications/Browser/Tab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Applications/Browser/Tab.cpp b/Applications/Browser/Tab.cpp index 733595e4fb..aed2949e66 100644 --- a/Applications/Browser/Tab.cpp +++ b/Applications/Browser/Tab.cpp @@ -146,6 +146,7 @@ Tab::Tab() }; m_page_view->on_load_start = [this](auto& url) { + m_location_box->set_icon(nullptr); m_location_box->set_text(url.to_string()); if (m_should_push_loads_to_history) m_history.push(url); |