diff options
Diffstat (limited to 'portato')
-rw-r--r-- | portato/gui/windows/preference.py | 5 |
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) |