mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Spell check dialog: move down after correcting word, not up. Fixes #2002864 [Suggested spellcheck UI improvements](https://bugs.launchpad.net/calibre/+bug/2002864)
This commit is contained in:
parent
a7f713f68f
commit
092bafbe7e
@ -1243,6 +1243,8 @@ class SpellCheck(Dialog):
|
||||
row = self.words_model.row_for_word(w)
|
||||
if row == -1:
|
||||
row = self.words_view.currentIndex().row()
|
||||
if row < self.words_model.rowCount() - 1:
|
||||
row += 1
|
||||
if row > -1:
|
||||
self.words_view.highlight_row(row)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user