fix splash screen
This commit is contained in:
parent
3dc26d2b92
commit
c05fde75c1
6
main.py
6
main.py
@ -32,10 +32,10 @@ def main() -> int:
|
||||
# Connecter le signal finished pour afficher la fenêtre principale et vérifier les mises à jour
|
||||
def show_main_window():
|
||||
if update_manager.check_for_update():
|
||||
return 0
|
||||
return 0
|
||||
window.show()
|
||||
|
||||
splash.finished.connect(show_main_window)
|
||||
|
||||
splash.finished.connect(lambda: show_main_window())
|
||||
else:
|
||||
# Pas de splash screen, vérifier les mises à jour puis afficher la fenêtre principale
|
||||
if update_manager.check_for_update():
|
||||
|
Loading…
x
Reference in New Issue
Block a user