[fix][ui] upgrade action not respecting packages with ignored updates

This commit is contained in:
Vinícius Moreira
2020-05-18 19:05:50 -03:00
parent 71f79469bc
commit 21c5147656
2 changed files with 7 additions and 1 deletions

View File

@@ -364,7 +364,7 @@ class UpgradeSelected(AsyncAction):
self.pkgs = None
return
to_update = [pkg for pkg in self.pkgs if pkg.model.update and pkg.update_checked]
to_update = [pkg for pkg in self.pkgs if pkg.model.update and not pkg.model.is_update_ignored() and pkg.update_checked]
if len(to_update) > 1:
self.disable_progress_controll()