Also clear unbdo cache when showing spell check dialog

This commit is contained in:
Kovid Goyal 2015-10-19 15:59:45 +05:30
parent 02b8f775cb
commit 928722690f

View File

@ -1250,6 +1250,7 @@ class SpellCheck(Dialog):
def show(self): def show(self):
Dialog.show(self) Dialog.show(self)
self.undo_cache.clear()
QTimer.singleShot(0, self.refresh) QTimer.singleShot(0, self.refresh)
def accept(self): def accept(self):