mirror of
https://github.com/Anjok07/ultimatevocalremovergui.git
synced 2024-11-28 17:30:52 +01:00
Implemented Visual Fix for #21
This commit is contained in:
parent
8d1b4f5ccb
commit
aea012136b
@ -299,6 +299,7 @@ class MainWindow(TkinterDnD.Tk):
|
|||||||
self.aiModel_var = tk.StringVar(value=data['aiModel'])
|
self.aiModel_var = tk.StringVar(value=data['aiModel'])
|
||||||
self.last_aiModel = self.aiModel_var.get()
|
self.last_aiModel = self.aiModel_var.get()
|
||||||
# Other
|
# Other
|
||||||
|
self.inputPathsEntry_var = tk.StringVar(value='')
|
||||||
self.lastDir = data['lastDir'] # nopep8
|
self.lastDir = data['lastDir'] # nopep8
|
||||||
self.progress_var = tk.IntVar(value=0)
|
self.progress_var = tk.IntVar(value=0)
|
||||||
# Font
|
# Font
|
||||||
@ -313,6 +314,11 @@ class MainWindow(TkinterDnD.Tk):
|
|||||||
self.update_states()
|
self.update_states()
|
||||||
self.update_loop()
|
self.update_loop()
|
||||||
|
|
||||||
|
|
||||||
|
# Display the multiple selected music files more visually understandable
|
||||||
|
self.inputPaths_var.trace_add('write',
|
||||||
|
lambda *args: self.inputPathsEntry_var.set('; '.join(list(self.inputPaths_var.get()))))
|
||||||
|
|
||||||
# -Widget Methods-
|
# -Widget Methods-
|
||||||
def create_widgets(self):
|
def create_widgets(self):
|
||||||
"""Create window widgets"""
|
"""Create window widgets"""
|
||||||
@ -396,7 +402,7 @@ class MainWindow(TkinterDnD.Tk):
|
|||||||
text='Select Your Audio File(s)',
|
text='Select Your Audio File(s)',
|
||||||
command=self.open_file_filedialog)
|
command=self.open_file_filedialog)
|
||||||
self.filePaths_musicFile_Entry = ttk.Entry(master=self.filePaths_Frame,
|
self.filePaths_musicFile_Entry = ttk.Entry(master=self.filePaths_Frame,
|
||||||
textvariable=self.inputPaths_var,
|
textvariable=self.inputPathsEntry_var,
|
||||||
state=tk.DISABLED
|
state=tk.DISABLED
|
||||||
)
|
)
|
||||||
# -Place Widgets-
|
# -Place Widgets-
|
||||||
|
Loading…
Reference in New Issue
Block a user