Update Uptated-Prototype/PiperTTS-GUI-Test.py
This commit is contained in:
@@ -138,8 +138,9 @@ def PiperTTS_GUI_TextFile_Open():
|
||||
print(type(Root_Window.filename))
|
||||
if Root_Window.filename:
|
||||
with open(Root_Window.filename) as f:
|
||||
Cursor_Position = Input_Box.index(INSERT)
|
||||
Input_Box.insert("Cursor_Position", f.read())
|
||||
print(f.read())
|
||||
#Cursor_Position = Input_Box.index(INSERT)
|
||||
#Input_Box.insert("Cursor_Position", f.read())
|
||||
else:
|
||||
print("Canceled file dialog.")
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user