From 57e79db136ec68bbfd32db449d47425f32a1ff5d Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 29 Jul 2015 15:04:07 +0200 Subject: [PATCH] Fix undefined name error. --- qutebrowser/completion/models/urlmodel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/completion/models/urlmodel.py b/qutebrowser/completion/models/urlmodel.py index 702f9458e..03f55e3ac 100644 --- a/qutebrowser/completion/models/urlmodel.py +++ b/qutebrowser/completion/models/urlmodel.py @@ -162,5 +162,5 @@ class UrlCompletionModel(base.BaseCompletionModel): quickmark_manager = objreg.get('quickmark-manager') sibling = index.sibling(index.row(), self.TEXT_COLUMN) qtutils.ensure_valid(sibling) - name = model.data(sibling) + name = sibling.data() quickmark_manager.quickmark_del(name)