mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[view] fix: some package icons would not appear if there is no URL associated with them
This commit is contained in:
@@ -408,7 +408,7 @@ class PackagesTable(QTableWidget):
|
||||
|
||||
if icon.isNull():
|
||||
icon = QIcon(pkg.model.get_default_icon_path())
|
||||
else:
|
||||
elif pkg.model.icon_url:
|
||||
self.icon_cache.add_non_existing(pkg.model.icon_url, {'icon': icon, 'bytes': None})
|
||||
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user