Don't set title from URL twice
browsertab already does that before emitting url_changed.
This commit is contained in:
parent
c83c9d96ae
commit
59d16efbef
@ -519,9 +519,6 @@ class TabbedBrowser(tabwidget.TabWidget):
|
|||||||
# We can get signals for tabs we already deleted...
|
# We can get signals for tabs we already deleted...
|
||||||
return
|
return
|
||||||
|
|
||||||
if not self.page_title(idx):
|
|
||||||
self.set_page_title(idx, url.toDisplayString())
|
|
||||||
|
|
||||||
# If needed, re-open the tab as a workaround for QTBUG-54419.
|
# If needed, re-open the tab as a workaround for QTBUG-54419.
|
||||||
# See https://bugreports.qt.io/browse/QTBUG-54419
|
# See https://bugreports.qt.io/browse/QTBUG-54419
|
||||||
if (tab.backend == usertypes.Backend.QtWebEngine and
|
if (tab.backend == usertypes.Backend.QtWebEngine and
|
||||||
|
Loading…
Reference in New Issue
Block a user