[fix][ui] not updating cached installed packages state after ignoring/reverting updates

This commit is contained in:
Vinícius Moreira
2020-05-28 17:09:57 -03:00
parent 9b483b9b6c
commit a2e41ce51f
9 changed files with 32 additions and 2 deletions

View File

@@ -145,3 +145,7 @@ class ArchPackage(SoftwarePackage):
def __repr__(self):
return '{} (name={}, command={}, icon_path={})'.format(self.__class__.__name__, self.name, self.command, self.icon_path)
def __eq__(self, other):
if isinstance(other, ArchPackage):
return self.name == other.name and self.repository == other.repository