mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
261041eaf9
commit
2de0a442e4
@ -774,7 +774,7 @@ class EbookViewer(MainWindow):
|
|||||||
self.iterator.__exit__()
|
self.iterator.__exit__()
|
||||||
self.iterator = EbookIterator(pathtoebook)
|
self.iterator = EbookIterator(pathtoebook)
|
||||||
self.open_progress_indicator(_('Loading ebook...'))
|
self.open_progress_indicator(_('Loading ebook...'))
|
||||||
worker = Worker(target=partial(self.iterator.__enter__, view_kpepub=True))
|
worker = Worker(target=partial(self.iterator.__enter__, view_kepub=True))
|
||||||
worker.start()
|
worker.start()
|
||||||
while worker.isAlive():
|
while worker.isAlive():
|
||||||
worker.join(0.1)
|
worker.join(0.1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user