mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Hide loading overlay on book load failure
This commit is contained in:
parent
7b1e665186
commit
871b0386de
@ -329,6 +329,7 @@ class EbookViewer(MainWindow):
|
||||
error_dialog(self, _('Loading book failed'), _(
|
||||
'Failed to open the book at {0}. Click "Show details" for more info.').format(data['pathtoebook']),
|
||||
det_msg=data['tb'], show=True)
|
||||
self.loading_overlay.hide()
|
||||
self.web_view.show_home_page()
|
||||
return
|
||||
set_book_path(data['base'], data['pathtoebook'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user