fix splash screen

This commit is contained in:
Louis Mazin 2025-09-21 20:06:28 +02:00
parent 3dc26d2b92
commit c05fde75c1

View File

@ -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():