From 928722690fa947e1f9060fdff46b43e5c52c7bb6 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 19 Oct 2015 15:59:45 +0530 Subject: [PATCH] Also clear unbdo cache when showing spell check dialog --- src/calibre/gui2/tweak_book/spell.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/tweak_book/spell.py b/src/calibre/gui2/tweak_book/spell.py index 665ccf85c6..7d5342b836 100644 --- a/src/calibre/gui2/tweak_book/spell.py +++ b/src/calibre/gui2/tweak_book/spell.py @@ -1250,6 +1250,7 @@ class SpellCheck(Dialog): def show(self): Dialog.show(self) + self.undo_cache.clear() QTimer.singleShot(0, self.refresh) def accept(self):