Fixed issue #1008.
This commit is contained in:
parent
9c0ef87a62
commit
1acd32f697
@ -169,8 +169,9 @@ class UrlCompletionModel(base.BaseCompletionModel):
|
||||
"""
|
||||
index = completion.currentIndex()
|
||||
qtutils.ensure_valid(index)
|
||||
url = index.data()
|
||||
category = index.parent()
|
||||
index = category.child(index.row(), self.URL_COLUMN)
|
||||
url = index.data()
|
||||
qtutils.ensure_valid(category)
|
||||
|
||||
if category.data() == 'Bookmarks':
|
||||
|
Loading…
Reference in New Issue
Block a user