From 2898a42b05d1bf2895582aa1b0e1b574d50a6ef5 Mon Sep 17 00:00:00 2001 From: themanyfaceddemon Date: Sat, 24 Aug 2024 21:40:20 +0300 Subject: [PATCH] fix softlock --- Code/gui/main_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Code/gui/main_app.py b/Code/gui/main_app.py index cc644d2..df84481 100644 --- a/Code/gui/main_app.py +++ b/Code/gui/main_app.py @@ -17,7 +17,7 @@ def setup(self): self.create_warning_window() def create_warning_window(self): - with dpg.window(label="Warning", modal=True, tag="warning_window"): + with dpg.window(label="Warning", modal=True, tag="warning_window", no_title_bar=True): dpg.add_text(loc.get_string("main_text_warning_window")) dpg.add_button(label=loc.get_string("yes_warning_window"), callback=self.on_yes) dpg.add_button(label=loc.get_string("no_warning_window"), callback=self.on_no)