summaryrefslogtreecommitdiff
path: root/geneticone
diff options
context:
space:
mode:
authornecoro <>2006-10-10 19:42:54 +0000
committernecoro <>2006-10-10 19:42:54 +0000
commit9a3e6e50c23a60340e846fe790daddc37bdc2c4d (patch)
tree0a897d3e36e82bfda43baf1762ed177140418726 /geneticone
parent12d50f5040d8cc0a5564ba7dc328aa58b595eac6 (diff)
downloadportato-9a3e6e50c23a60340e846fe790daddc37bdc2c4d.tar.gz
portato-9a3e6e50c23a60340e846fe790daddc37bdc2c4d.tar.bz2
portato-9a3e6e50c23a60340e846fe790daddc37bdc2c4d.zip
Fixed bug not showing the use-flag-list in some cases
Diffstat (limited to 'geneticone')
-rw-r--r--geneticone/gui/windows.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/geneticone/gui/windows.py b/geneticone/gui/windows.py
index 031306b..f07bfa4 100644
--- a/geneticone/gui/windows.py
+++ b/geneticone/gui/windows.py
@@ -363,10 +363,12 @@ class PackageWindow (AbstractDialog):
"""Callback for the changed ComboBox.
It then rebuilds the useList and the checkboxes."""
- store = self.useList.get_model()
- store.clear()
- self.fill_use_list(store)
+ # remove old useList
+ self.useListScroll.remove(self.useList)
+ # build new
+ self.useList = self.build_use_list()
+ self.useListScroll.add(self.useList)
pkg = self.actual_package()
if pkg.is_missing_keyword():