mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix refresh timer not being stopped on refresh
This commit is contained in:
parent
d99ff84f9c
commit
175d913299
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user