mirror of
https://github.com/ankitects/anki.git
synced 2025-09-21 15:32:23 -04:00
disable word wrap in browser rows
This commit is contained in:
parent
13f3719650
commit
9ee82d55b1
1 changed files with 1 additions and 0 deletions
|
@ -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); "
|
||||
|
|
Loading…
Reference in a new issue