diff --git a/whisper_local/tray/_download_progress.py b/whisper_local/tray/_download_progress.py index 1ff4cff..0b5c8c0 100644 --- a/whisper_local/tray/_download_progress.py +++ b/whisper_local/tray/_download_progress.py @@ -123,8 +123,9 @@ def load_model_with_progress( root.mainloop() if error[0] is not None: - root.destroy() + root.withdraw() messagebox.showerror("Fehler beim Modell-Download", str(error[0])) + root.destroy() sys.exit(1) root.destroy()