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:
parent
fa51392a17
commit
2138978ab7
@ -308,6 +308,7 @@ void LocationBar::showUrl(const QUrl &url)
|
||||
|
||||
if (text() == stringUrl) {
|
||||
home(false);
|
||||
refreshTextFormat();
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user