From 5e4a4fead858429ede22e3afab9ddf7e216fed03 Mon Sep 17 00:00:00 2001 From: march3 Date: Sun, 19 Mar 2023 14:42:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=AA=E9=98=B3=E7=B3=BB=E4=B8=89=E4=BD=93?= =?UTF-8?q?=E6=A8=A1=E6=8B=9F=E5=99=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- simulators/ursina/ui/control_handler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulators/ursina/ui/control_handler.py b/simulators/ursina/ui/control_handler.py index 6fd9e27..5ee0853 100644 --- a/simulators/ursina/ui/control_handler.py +++ b/simulators/ursina/ui/control_handler.py @@ -92,7 +92,7 @@ class ControlHandler(EventHandler): if len(results) > 0: sub_name, bodies = results[0] if len(bodies) == 0: - self.show_message("天体都飞不见了,请重新运行。") + self.ui.show_message("天体都飞不见了,请重新运行。") # button_dict = {"天体都飞不见了,请重新运行。": lambda: self.bodies_button_list_click(None)} return # print(results[0]) -- GitLab