mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 02:24:16 +02:00
[view] fix: upgrade summary (not displaying the icon type for some applications)
This commit is contained in:
@@ -216,7 +216,7 @@ class UpgradeSelected(AsyncAction):
|
||||
|
||||
if not icon_path:
|
||||
icon_path = req.pkg.get_type_icon_path()
|
||||
elif not os.path.isfile(icon_path) and QIcon.fromTheme(icon_path).isNull():
|
||||
elif not os.path.isfile(icon_path) or QIcon.fromTheme(icon_path).isNull():
|
||||
icon_path = req.pkg.get_type_icon_path()
|
||||
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user