diff --git a/qutebrowser/completion/models/miscmodels.py b/qutebrowser/completion/models/miscmodels.py index 5c730e456..97ed807d1 100644 --- a/qutebrowser/completion/models/miscmodels.py +++ b/qutebrowser/completion/models/miscmodels.py @@ -241,12 +241,12 @@ class TabCompletionModel(base.BaseCompletionModel): tab = tabbed_browser.widget(idx) if idx >= c.rowCount(): self.new_item(c, "{}/{}".format(win_id, idx + 1), - tab.url().toDisplayString(), + tab.cur_url.toDisplayString(), tabbed_browser.page_title(idx)) else: c.child(idx, 0).setData("{}/{}".format(win_id, idx + 1), Qt.DisplayRole) - c.child(idx, 1).setData(tab.url().toDisplayString(), + c.child(idx, 1).setData(tab.cur_url.toDisplayString(), Qt.DisplayRole) c.child(idx, 2).setData(tabbed_browser.page_title(idx), Qt.DisplayRole)