[gem.appimage] fix: info button remains 'clickable' after an imported Appimage is uninstalled

This commit is contained in:
Vinicius Moreira
2021-08-23 14:25:09 -03:00
parent 8bfdf700d4
commit 895ec7c643
2 changed files with 3 additions and 2 deletions

View File

@@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixes ### Fixes
- AppImage - AppImage
- search: not matching manually installed applications - search: not matching manually installed applications
- info button remains "clickable" after an imported Appimage is uninstalled
## [0.9.18] 2021-06-18 ## [0.9.18] 2021-06-18

View File

@@ -50,7 +50,7 @@ class AppImage(SoftwarePackage):
return self.installed and not self.imported return self.installed and not self.imported
def has_info(self): def has_info(self):
return True return self.installed if self.imported else True
def can_be_downgraded(self): def can_be_downgraded(self):
return self.installed and not self.imported return self.installed and not self.imported