From a490c2c9ac6a276fd8532e09b0e7c128a747cc65 Mon Sep 17 00:00:00 2001 From: "DHR.Mike" Date: Wed, 17 Dec 2025 13:57:05 -0800 Subject: [PATCH] Update Uptated-Prototype/PiperTTS-GUI-Test.py --- Uptated-Prototype/PiperTTS-GUI-Test.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Uptated-Prototype/PiperTTS-GUI-Test.py b/Uptated-Prototype/PiperTTS-GUI-Test.py index 184c62a..815bfdf 100644 --- a/Uptated-Prototype/PiperTTS-GUI-Test.py +++ b/Uptated-Prototype/PiperTTS-GUI-Test.py @@ -235,10 +235,11 @@ def PiperTTS_GUI_Randomize_Text_2nd(): # def PiperTTS_GUI_Set_Prefrences(): try: - if Prefrences_Frame: + if bool(Prefrences_Frame.winfo_ismapped()): Input_Box_Frame.pack(fill = "both", expand = True) Controls_Box_Frame.pack(fill = "both") print("An if occurred - when Setting prefrences.") + print(f"{Prefrences_Frame.winfo_ismapped()}") else: #Input_Box_Frame.place_forget() #Controls_Box_Frame.place_forget() @@ -247,6 +248,7 @@ def PiperTTS_GUI_Set_Prefrences(): #Prefrences_Frame.place(x = 0, y = 0, relwidth = 1, relheight = 1) Prefrences_Frame.pack(fill = "both", expand = True) print("An if occurred - when Setting prefrences.") + print(f"{Prefrences_Frame.winfo_ismapped()}") except Exception as e: print(e, type(e)) print("An exception occurred - when Setting prefrences.")