From 175d9132998807997c1d3b0a0db91958cbcfbca2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 8 Nov 2013 15:50:29 +0530 Subject: [PATCH] Fix refresh timer not being stopped on refresh --- src/calibre/gui2/tweak_book/preview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/calibre/gui2/tweak_book/preview.py b/src/calibre/gui2/tweak_book/preview.py index af93a8f347..90906c9d45 100644 --- a/src/calibre/gui2/tweak_book/preview.py +++ b/src/calibre/gui2/tweak_book/preview.py @@ -285,6 +285,7 @@ class Preview(QWidget): def refresh(self): if self.current_name: + self.refresh_timer.stop() # This will check if the current html has changed in its editor, # and re-parse it if so parse_worker.add_request(self.current_name)