mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[improvement][ui] treating multiple lines on the application's description displayed on the table
This commit is contained in:
@@ -5,6 +5,9 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
|
||||
## [0.8.4] - 2020-02
|
||||
### Improvements
|
||||
- UI:
|
||||
- treating multiple lines on the application's description displayed on the table
|
||||
### Fixes
|
||||
- Snap
|
||||
- not able to launch applications on some distros ( e.g: OpenSuse )
|
||||
|
||||
@@ -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 = '...'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user