Update Uptated-Prototype/PiperTTS-GUI-Test.py

This commit is contained in:
2025-12-17 13:57:05 -08:00
parent e0d513ea78
commit a490c2c9ac

View File

@@ -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.")