From 1acd32f697041804251d354a1eb09f26f3114869 Mon Sep 17 00:00:00 2001 From: Antoni Boucher Date: Sat, 10 Oct 2015 11:16:06 -0400 Subject: [PATCH 1/2] Fixed issue #1008. --- qutebrowser/completion/models/urlmodel.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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': From 18e52922c187fde38b00196fb8faaa23d99e648d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sat, 10 Oct 2015 17:22:52 +0200 Subject: [PATCH 2/2] Update changelog. --- CHANGELOG.asciidoc | 1 + 1 file changed, 1 insertion(+) 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 ------