[LocationBar] Make sure text format is correct even when text doesn't change

refreshTextFormat() is using page's url to determine which part of
displayed text is host. Url of page may not change immediately when
starting loading.
This commit makes sure that text format is correct with every
WebView::urlChanged() signal.
remotes/origin/falkon
David Rosca 12 years ago
parent fa51392a17
commit 2138978ab7
  1. 1
      src/lib/navigation/locationbar.cpp

@ -308,6 +308,7 @@ void LocationBar::showUrl(const QUrl &url)
if (text() == stringUrl) {
home(false);
refreshTextFormat();
return;
}

Loading…
Cancel
Save