mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 00:44:16 +02:00
[ui][table] fix description treatment when null
This commit is contained in:
@@ -381,7 +381,7 @@ class AppsTable(QTableWidget):
|
|||||||
item.setMinimumWidth(300)
|
item.setMinimumWidth(300)
|
||||||
|
|
||||||
if pkg.model.description is not None or not pkg.model.is_application() or pkg.model.status == PackageStatus.READY:
|
if pkg.model.description is not None or not pkg.model.is_application() or pkg.model.status == PackageStatus.READY:
|
||||||
desc = pkg.model.description.split('\n')[0]
|
desc = pkg.model.description.split('\n')[0] if pkg.model.description else pkg.model.description
|
||||||
else:
|
else:
|
||||||
desc = '...'
|
desc = '...'
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user