summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2010-10-20 09:29:14 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2010-10-20 09:32:23 +0200
commit7570ac569271753a5956b50de4fb3f950376eca2 (patch)
tree78f7a7214a0ba770802bfa66cdfab45f9df11d5c /src/urlbar
parentMerge branch 'master' of git.kde.org:rekonq (diff)
downloadrekonq-7570ac569271753a5956b50de4fb3f950376eca2.tar.xz
Fix icons duplication in the urlbar if a bookmark is added during a page loading
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/urlbar.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index 4039e8bf..3ec0b2fa 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -369,8 +369,11 @@ void UrlBar::showBookmarkInfo(const QPoint &pos)
void UrlBar::onBookmarksChanged()
{
- clearRightIcons();
- loadFinished();
+ if (!_tab->isPageLoading())
+ {
+ clearRightIcons();
+ loadFinished();
+ }
}