disable word wrap in browser rows

This commit is contained in:
Damien Elmes 2020-03-20 18:34:03 +10:00
parent 13f3719650
commit 9ee82d55b1

View File

@ -834,6 +834,7 @@ class Browser(QMainWindow):
self.form.tableView.selectionModel()
self.form.tableView.setItemDelegate(StatusDelegate(self, self.model))
self.form.tableView.selectionModel().selectionChanged.connect(self.onRowChanged)
self.form.tableView.setWordWrap(False)
if not theme_manager.night_mode:
self.form.tableView.setStyleSheet(
"QTableView{ selection-background-color: rgba(150, 150, 150, 50); "