Also add title to history for redirected URLs
This commit is contained in:
parent
79e0aa2418
commit
e1fd9fc408
@ -154,7 +154,7 @@ class WebView(QWebView):
|
||||
QUrl.UrlFormattingOption(0)):
|
||||
# If the url of the page is different than the url of the link
|
||||
# originally clicked, save them both.
|
||||
history.add_url(self._orig_url.toDisplayString())
|
||||
history.add_url(self._orig_url.toDisplayString(), self.title())
|
||||
history.add_url(self.cur_url.toDisplayString(), self.title())
|
||||
|
||||
def _init_page(self):
|
||||
|
Loading…
Reference in New Issue
Block a user