[improvement][ui] treating multiple lines on the application's description displayed on the table

This commit is contained in:
Vinícius Moreira
2020-02-17 17:55:54 -03:00
parent bdc4d49d51
commit 32bc324118
2 changed files with 4 additions and 1 deletions

View File

@@ -381,7 +381,7 @@ class AppsTable(QTableWidget):
item.setMinimumWidth(300)
if pkg.model.description is not None or not pkg.model.is_application() or pkg.model.status == PackageStatus.READY:
desc = pkg.model.description
desc = pkg.model.description.split('\n')[0]
else:
desc = '...'