mirror of
https://github.com/ankitects/anki.git
synced 2025-09-20 15:02:21 -04:00
remove grid from table view
This commit is contained in:
parent
ca583a5230
commit
5e7769bfed
1 changed files with 1 additions and 0 deletions
|
@ -298,6 +298,7 @@ class EditDeck(QMainWindow):
|
|||
self.deck.s.flush()
|
||||
self.model = DeckModel(self.parent, self.parent.deck)
|
||||
self.dialog.tableView.setSortingEnabled(False)
|
||||
self.dialog.tableView.setShowGrid(False)
|
||||
self.dialog.tableView.setModel(self.model)
|
||||
self.dialog.tableView.selectionModel()
|
||||
self.connect(self.dialog.tableView.selectionModel(),
|
||||
|
|
Loading…
Reference in a new issue