summaryrefslogtreecommitdiff
path: root/geneticone/gui/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'geneticone/gui/gtk')
-rw-r--r--geneticone/gui/gtk/windows.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/geneticone/gui/gtk/windows.py b/geneticone/gui/gtk/windows.py
index 98bcba4..4b8cdda 100644
--- a/geneticone/gui/gtk/windows.py
+++ b/geneticone/gui/gtk/windows.py
@@ -209,9 +209,9 @@ class PreferenceWindow (AbstractDialog):
"""Sets all options in the Config-instance."""
for box in self.checkboxes:
- self.cfg.set(\
+ self.cfg.set_boolean(\
self.cfg.const[self.checkboxes[box]],\
- str(self.tree.get_widget(box).get_active()))
+ self.tree.get_widget(box).get_active())
for edit in self.edits:
self.cfg.set(\