summaryrefslogtreecommitdiff
path: root/geneticone/gui
diff options
context:
space:
mode:
Diffstat (limited to 'geneticone/gui')
-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():
git/commit/src/password-store.sh?h=1.7.3&id=b0ff199e187dd177258b29463f6cef36e7c2db08&follow=1'>Quote the program name.Jason A. Donenfeld1-4/+4 2012-09-17Abstract potentially platform specific commands into their own commands.Jason A. Donenfeld4-72/+97 2012-09-16Support recursive and forced removal.Jason A. Donenfeld2-12/+28 2012-09-16Small stylistic things.Jason A. Donenfeld1-9/+9 2012-09-15Use --force flag in keepassx import.Jason A. Donenfeld1-1/+1