mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[view] fix: some package icons would not appear if there is no URL associated with them
This commit is contained in:
@@ -33,6 +33,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- General
|
||||
- not accepting blank root passwords [#235](https://github.com/vinifmor/bauh/issues/235)
|
||||
|
||||
- UI
|
||||
- some package icons would not appear if there is no URL associated with them
|
||||
|
||||
## [0.9.28] 2022-02-14
|
||||
|
||||
|
||||
@@ -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