1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

[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.
This commit is contained in:
David Rosca 2014-04-20 09:51:20 +02:00
parent fa51392a17
commit 2138978ab7

View File

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