Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -235,10 +235,11 @@ def PiperTTS_GUI_Randomize_Text_2nd():
|
|||||||
#
|
#
|
||||||
def PiperTTS_GUI_Set_Prefrences():
|
def PiperTTS_GUI_Set_Prefrences():
|
||||||
try:
|
try:
|
||||||
if Prefrences_Frame:
|
if bool(Prefrences_Frame.winfo_ismapped()):
|
||||||
Input_Box_Frame.pack(fill = "both", expand = True)
|
Input_Box_Frame.pack(fill = "both", expand = True)
|
||||||
Controls_Box_Frame.pack(fill = "both")
|
Controls_Box_Frame.pack(fill = "both")
|
||||||
print("An if occurred - when Setting prefrences.")
|
print("An if occurred - when Setting prefrences.")
|
||||||
|
print(f"{Prefrences_Frame.winfo_ismapped()}")
|
||||||
else:
|
else:
|
||||||
#Input_Box_Frame.place_forget()
|
#Input_Box_Frame.place_forget()
|
||||||
#Controls_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.place(x = 0, y = 0, relwidth = 1, relheight = 1)
|
||||||
Prefrences_Frame.pack(fill = "both", expand = True)
|
Prefrences_Frame.pack(fill = "both", expand = True)
|
||||||
print("An if occurred - when Setting prefrences.")
|
print("An if occurred - when Setting prefrences.")
|
||||||
|
print(f"{Prefrences_Frame.winfo_ismapped()}")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e, type(e))
|
print(e, type(e))
|
||||||
print("An exception occurred - when Setting prefrences.")
|
print("An exception occurred - when Setting prefrences.")
|
||||||
|
|||||||
Reference in New Issue
Block a user