Spritz: on Queued tab, reload the view every time a package is unselected

This commit is contained in:
Fabio Erculiani
2009-05-03 22:29:35 +02:00
parent 3b77e8625e
commit ebae3d29f6

View File

@@ -676,6 +676,12 @@ class EntropyPackageView:
for obj in objs:
obj.queued = q_cache.get(obj.matched_atom)
else:
# if we remove packages from the queued view
# we need to completely remove them from the list
if self.Spritz != None:
if self.Spritz.lastPkgPB == "queued":
self.etpbase.populateSingle("queued", force = True)
self.Spritz.addPackages()
# disable user selection
for obj in objs:
obj.selected_by_user = False