summaryrefslogtreecommitdiffstats
path: root/module/gui/SettingsWidget.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/gui/SettingsWidget.py')
-rw-r--r--module/gui/SettingsWidget.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/gui/SettingsWidget.py b/module/gui/SettingsWidget.py
index 0f8a9c88e..c50130b5c 100644
--- a/module/gui/SettingsWidget.py
+++ b/module/gui/SettingsWidget.py
@@ -79,11 +79,11 @@ class SettingsWidget(QWidget):
self.data = self.connector.getConfig()
self.pdata = self.connector.getPluginConfig()
- for k, section in enumerate(self.data):
+ for k, section in self.data.iteritems():
s = Section(section, general)
self.sections[k] = s
- for k, section in enumerate(self.pdata):
+ for k, section in self.pdata.iteritems():
s = Section(section, plugins, "plugin")
self.psections[k] = s