summaryrefslogtreecommitdiff
path: root/portato/gui/windows/preference.py
diff options
context:
space:
mode:
Diffstat (limited to 'portato/gui/windows/preference.py')
-rw-r--r--portato/gui/windows/preference.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/portato/gui/windows/preference.py b/portato/gui/windows/preference.py
index 5b88b22..4bd7551 100644
--- a/portato/gui/windows/preference.py
+++ b/portato/gui/windows/preference.py
@@ -232,6 +232,11 @@ class PreferenceWindow (AbstractDialog):
c = self.prefColorBtn.get_color()
self.cfg.set("prefhint", str(c)[1:], section = "COLORS")
+ # DB type
+ m = self.databaseCombo.get_model()
+ a = self.databaseCombo.get_active()
+ self.cfg.set("type", m[a][2], section = "DATABASE")
+
def fill_setlist (self):
store = gtk.ListStore(bool, str, str, str)