summaryrefslogtreecommitdiffstats
path: root/module/gui/SettingsWidget.py
diff options
context:
space:
mode:
authorGravatar mkaay <mkaay@mkaay.de> 2011-07-26 23:32:40 +0200
committerGravatar mkaay <mkaay@mkaay.de> 2011-07-26 23:32:40 +0200
commit25b5d9df7d8c2132f767c12d4bdd7c58325fb84e (patch)
tree7da842ec54334c689fa3dca52ced87ca720e6925 /module/gui/SettingsWidget.py
parentnew locale (diff)
downloadpyload-25b5d9df7d8c2132f767c12d4bdd7c58325fb84e.tar.xz
fixed gui startup
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