This commit is contained in:
Kovid Goyal 2022-02-22 07:56:27 +05:30
parent 8597c509ed
commit bb8aff53d5
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -133,6 +133,7 @@ class FilesView(QTableView):
def __init__(self, model, parent=None):
QTableView.__init__(self, parent)
self.setProperty('highlight_current_item', 150)
self.setSelectionBehavior(QAbstractItemView.SelectionBehavior.SelectRows)
self.setSelectionMode(QAbstractItemView.SelectionMode.ExtendedSelection)
self.setAlternatingRowColors(True)