Merge branch 'bug/bookmark-click-delete' of https://github.com/antoyo/qutebrowser into antoyo-bug/bookmark-click-delete

This commit is contained in:
Florian Bruhin 2015-10-10 17:21:27 +02:00
commit 893df967df

View File

@ -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':