[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

@@ -116,3 +116,7 @@ class FlatpakApplication(SoftwarePackage):
def get_update_ignore_key(self) -> str:
return '{}:{}:{}'.format(self.installation, self.id, self.branch)
def __eq__(self, other):
if isinstance(other, FlatpakApplication):
return self.id == other.id and self.installation == other.installation and self.branch == other.branch