mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Edit Book: Spell Check: Fix replaced words coming back into the list when toggling the "Show only misspelled words" setting
This commit is contained in:
parent
649be15d3a
commit
421724f032
@ -770,6 +770,7 @@ class WordsModel(QAbstractTableModel):
|
|||||||
self.beginRemoveRows(QModelIndex(), row, row)
|
self.beginRemoveRows(QModelIndex(), row, row)
|
||||||
del self.items[row]
|
del self.items[row]
|
||||||
self.endRemoveRows()
|
self.endRemoveRows()
|
||||||
|
self.words.pop(w, None)
|
||||||
return new_key
|
return new_key
|
||||||
|
|
||||||
def update_word(self, w):
|
def update_word(self, w):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user