Fix _on_url_changed

This commit is contained in:
Florian Bruhin 2016-07-11 16:32:37 +02:00
parent 8b67d68d4a
commit f2c52f96a1

View File

@ -501,8 +501,8 @@ class AbstractTab(QWidget):
def _on_url_changed(self, url):
"""Update title when URL has changed and no title is available."""
if url.isValid() and not self.title():
self.title_changed.emit(url().toDisplayString())
self.url_changed.emit()
self.title_changed.emit(url.toDisplayString())
self.url_changed.emit(url)
@pyqtSlot()
def _on_load_started(self):