Fix lint
This commit is contained in:
parent
9add8b105c
commit
af8c68360a
@ -70,7 +70,7 @@ class Completer(QObject):
|
|||||||
self._models['section'] = CFM(SettingSectionCompletionModel(self))
|
self._models['section'] = CFM(SettingSectionCompletionModel(self))
|
||||||
self._models['option'] = {}
|
self._models['option'] = {}
|
||||||
self._models['value'] = {}
|
self._models['value'] = {}
|
||||||
for sectname, sect in configdata.DATA.items():
|
for sectname in configdata.DATA:
|
||||||
model = SettingOptionCompletionModel(sectname, self)
|
model = SettingOptionCompletionModel(sectname, self)
|
||||||
self._models['option'][sectname] = CFM(model)
|
self._models['option'][sectname] = CFM(model)
|
||||||
config.instance().changed.connect(model.on_config_changed)
|
config.instance().changed.connect(model.on_config_changed)
|
||||||
|
Loading…
Reference in New Issue
Block a user