diff --git a/qutebrowser/completion/models/urlmodel.py b/qutebrowser/completion/models/urlmodel.py index 27ff67e39..10d4fb9fd 100644 --- a/qutebrowser/completion/models/urlmodel.py +++ b/qutebrowser/completion/models/urlmodel.py @@ -103,8 +103,8 @@ class UrlCompletionModel(base.BaseCompletionModel): """ index0 = self.index(row, 0, parent) index1 = self.index(row, 1, parent) - url = self.data(index0) - title = self.data(index1) + url = self.data(index0) or '' + title = self.data(index1) or '' return pattern in url.casefold() or pattern in title.casefold() @config.change_filter('completion', 'timestamp-format')