mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-30 19:15:56 +01:00
Keep the startup spalsh screen visible until the GUI has fully completed initializing. Fixes #885827 (Feature request: Startup loading progress dialog)
This commit is contained in:
parent
0ad7adeade
commit
2bc0afd821
1 changed files with 2 additions and 1 deletions
|
|
@ -134,8 +134,9 @@ def start_gui(self, db):
|
|||
main = Main(self.opts, gui_debug=self.gui_debug)
|
||||
if self.splash_screen is not None:
|
||||
self.splash_screen.showMessage(_('Initializing user interface...'))
|
||||
self.splash_screen.finish(main)
|
||||
main.initialize(self.library_path, db, self.listener, self.actions)
|
||||
if self.splash_screen is not None:
|
||||
self.splash_screen.finish(main)
|
||||
if DEBUG:
|
||||
prints('Started up in', time.time() - self.startup_time, 'with',
|
||||
len(db.data), 'books')
|
||||
|
|
|
|||
Loading…
Reference in a new issue