This commit is contained in:
Florian Bruhin 2014-06-04 07:16:48 +02:00
parent 9add8b105c
commit af8c68360a

View File

@ -70,7 +70,7 @@ class Completer(QObject):
self._models['section'] = CFM(SettingSectionCompletionModel(self))
self._models['option'] = {}
self._models['value'] = {}
for sectname, sect in configdata.DATA.items():
for sectname in configdata.DATA:
model = SettingOptionCompletionModel(sectname, self)
self._models['option'][sectname] = CFM(model)
config.instance().changed.connect(model.on_config_changed)