Update UVR.py

This commit is contained in:
Anjok07 2022-12-30 04:09:22 -06:00 committed by GitHub
parent fc3d727558
commit 3e305654be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

5
UVR.py
View File

@ -1361,8 +1361,7 @@ class MainWindow(TkinterDnD.Tk if is_dnd_compatible else tk.Tk):
self.chosen_audio_tool_align = tk.BooleanVar(value=True)
add_align = lambda e:(self.chosen_audio_tool_Option['menu'].add_radiobutton(label=ALIGN_INPUTS, command=tk._setit(self.chosen_audio_tool_var, ALIGN_INPUTS)), self.chosen_audio_tool_align.set(False)) if self.chosen_audio_tool_align else None
self.bind("<a> <s> <\>", add_align)
if is_dnd_compatible:
self.filePaths_saveTo_Button.drop_target_register(DND_FILES)
self.filePaths_saveTo_Entry.drop_target_register(DND_FILES)
@ -5008,4 +5007,4 @@ if __name__ == "__main__":
root = MainWindow()
root.update_checkbox_text()
root.mainloop()
root.mainloop()