Merge branch 'antoyo-bug/bookmark-click-delete'

This commit is contained in:
Florian Bruhin 2015-10-10 17:23:05 +02:00
commit 904b7b202e
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,7 @@ Fixed
- Fixed displaying of web history if `web-history-max-items` is set to -1.
- Cloned tabs now don't display favicons anymore if show-favicons is False.
- Fixed a crash when clicking a bookmark name and pressing `Ctrl-D`.
v0.4.1
------

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