mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Merge branch 'master' of https://github.com/cbhaley/calibre
This commit is contained in:
commit
a1d86860ac
@ -399,9 +399,6 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
setattr(self, '__systray_minimized', True)
|
||||
if do_hide_windows:
|
||||
self.hide_windows()
|
||||
if show_gui:
|
||||
timed_print('GUI main window shown')
|
||||
self.show()
|
||||
self.layout_container.relayout()
|
||||
QTimer.singleShot(0, self.post_initialize_actions)
|
||||
self.read_settings()
|
||||
@ -410,6 +407,10 @@ class Main(MainWindow, MainWindowMixin, DeviceMixin, EmailMixin, # {{{
|
||||
self.bars_manager.start_animation()
|
||||
self.set_window_title()
|
||||
|
||||
if show_gui:
|
||||
timed_print('GUI main window shown')
|
||||
self.show()
|
||||
|
||||
for ac in self.iactions.values():
|
||||
try:
|
||||
ac.initialization_complete()
|
||||
|
Loading…
x
Reference in New Issue
Block a user