From 859ae87ec911c26c439767a65be0efe098f08357 Mon Sep 17 00:00:00 2001 From: qwint Date: Thu, 21 Nov 2024 11:43:01 -0500 Subject: [PATCH] Launcher: ports the _stop fix in the Launcher kivy App to handle_url Popup App (#4213) * fixes url launched popup so it can close cleanly after spawning another kivy app like text client * whoops --- Launcher.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Launcher.py b/Launcher.py index ea59e8be..f04d67a5 100644 --- a/Launcher.py +++ b/Launcher.py @@ -181,6 +181,11 @@ def handle_uri(path: str, launch_args: Tuple[str, ...]) -> None: App.get_running_app().stop() Window.close() + def _stop(self, *largs): + # see run_gui Launcher _stop comment for details + self.root_window.close() + super()._stop(*largs) + Popup().run()