diff options
Diffstat (limited to 'geneticone/gui/main.py')
-rw-r--r-- | geneticone/gui/main.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/geneticone/gui/main.py b/geneticone/gui/main.py index 08655fb..8ecd184 100644 --- a/geneticone/gui/main.py +++ b/geneticone/gui/main.py @@ -321,7 +321,10 @@ class PackageWindow: def cb_use_flag_toggled (self, cell, path, store, data = None): store[path][0] = not store[path][0] - flags.set_use_flag(self.actual_package, store[path][1]) + prefix = "" + if not store[path][0]: + prefix = "-" + flags.set_use_flag(self.actual_package(), prefix+store[path][1]) return True def update_checkboxes (self): |