summaryrefslogtreecommitdiff
path: root/portato/gui
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--portato/gui/windows/preference.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/portato/gui/windows/preference.py b/portato/gui/windows/preference.py
index 021788c..2b6974e 100644
--- a/portato/gui/windows/preference.py
+++ b/portato/gui/windows/preference.py
@@ -170,7 +170,7 @@ class PreferenceWindow (AbstractDialog):
ctr = 0
active = 0
- for k, (name, desc) in db.types.iteritems():
+ for k, name, desc in db.types:
if k == dbtype:
active = ctr