mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge pull request #2329 from pypeclub/feature/paint_splash_before_logic
Tray: Paint splash and tray before initialization logic
This commit is contained in:
commit
f2e37b2082
1 changed files with 4 additions and 0 deletions
|
|
@ -370,8 +370,12 @@ class PypeTrayStarter(QtCore.QObject):
|
|||
splash = self._get_splash()
|
||||
splash.show()
|
||||
self._tray_widget.show()
|
||||
# Make sure tray and splash are painted out
|
||||
QtWidgets.QApplication.processEvents()
|
||||
|
||||
elif self._timer_counter == 1:
|
||||
# Second processing of events to make sure splash is painted
|
||||
QtWidgets.QApplication.processEvents()
|
||||
self._timer_counter += 1
|
||||
self._tray_widget.initialize_modules()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue