Merge branch 'fix-chapter-jump' of https://github.com/Siron777/calibre

This commit is contained in:
Kovid Goyal 2020-02-10 07:12:49 +05:30
commit c3e3bbc408
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -1018,7 +1018,6 @@ class View:
self.iframe_wrapper.init()
def show_spine_item_stage2(self, resource_data):
self.currently_showing.loading = False
# We cannot encrypt this message because the resource data contains
# Blob objects which do not survive encryption
self.processing_spine_item_display = True
@ -1032,6 +1031,7 @@ class View:
def on_content_loaded(self, data):
self.processing_spine_item_display = False
self.currently_showing.loading = False
self.hide_loading()
self.set_progress_frac(data.progress_frac, data.file_progress_frac)
self.update_header_footer()