diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index 54e5dcc1f..f81e7c825 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -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 ------ diff --git a/qutebrowser/completion/models/urlmodel.py b/qutebrowser/completion/models/urlmodel.py index a313b9c0a..5c56db24e 100644 --- a/qutebrowser/completion/models/urlmodel.py +++ b/qutebrowser/completion/models/urlmodel.py @@ -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':