summaryrefslogtreecommitdiff
path: root/geneticone/gui/windows.py
diff options
context:
space:
mode:
Diffstat (limited to 'geneticone/gui/windows.py')
-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():
s/password-store.el?h=1.7.4&id=8a491f16961dd120fed6a4e154d0ef9b5a4cae7b&follow=1'>Reorder interactive function to match order of helper functionsSvend Sorensen1-13/+13 2014-05-07Make edit helper function name consistent with other helpersSvend Sorensen1-1/+1 2014-05-07Factor out password completing-read functionSvend Sorensen1-4/+8 2014-05-07Add dash to Package-RequiresSvend Sorensen1-1/+1 2014-05-06Force sane sort order.Jason A. Donenfeld1-2/+2 2014-05-06generate: add --in-place optionJason A. Donenfeld4-9/+33