From 170098683fabc041c0c4181720f0e13f09115903 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 4 Jun 2014 18:39:38 +0200 Subject: [PATCH] Fix exception on :set introduced with curitem completion --- qutebrowser/models/completion.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qutebrowser/models/completion.py b/qutebrowser/models/completion.py index 6c2ea221d..1f785ba5b 100644 --- a/qutebrowser/models/completion.py +++ b/qutebrowser/models/completion.py @@ -92,7 +92,8 @@ class SettingValueCompletionModel(BaseCompletionModel): value = config.get(section, option, raw=True) if not value: value = '""' - self.cur_item = self.new_item(cur_cat, value, "Current value") + self.cur_item, _descitem, _miscitem = self.new_item(cur_cat, value, + "Current value") if hasattr(configdata.DATA[section], 'valtype'): # Same type for all values (ValueList) vals = configdata.DATA[section].valtype.complete()