mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Move the discarding of the loading flag later on the content loading process
This commit is contained in:
parent
5bede4e364
commit
df58f715d8
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user