mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix multiple rows being selectable in the word list of the spell check dialog. Fixes #1309559 [multiple selection in edit books spell checker](https://bugs.launchpad.net/calibre/+bug/1309559)
This commit is contained in:
parent
394b9c20d9
commit
924481b57b
@ -751,7 +751,7 @@ class SpellCheck(Dialog):
|
||||
state = tprefs.get('spell-check-table-state', None)
|
||||
hh = self.words_view.horizontalHeader()
|
||||
w.setSortingEnabled(True), w.setShowGrid(False), w.setAlternatingRowColors(True)
|
||||
w.setSelectionBehavior(w.SelectRows)
|
||||
w.setSelectionBehavior(w.SelectRows), w.setSelectionMode(w.SingleSelection)
|
||||
w.verticalHeader().close()
|
||||
h.addWidget(w)
|
||||
self.words_model = m = WordsModel(self)
|
||||
|
Loading…
x
Reference in New Issue
Block a user