Update UVR.py

This commit is contained in:
Anjok07 2023-09-27 00:24:33 -05:00 committed by GitHub
parent 42e8b7462b
commit db2633f76d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
UVR.py
View File

@ -2660,7 +2660,7 @@ class MainWindow(TkinterDnD.Tk if is_dnd_compatible else tk.Tk):
window.resizable(False, False)
window.wm_transient(top_window)
window.title(title)
window.iconbitmap(ICON_IMG_PATH if is_windows else None)
window.iconbitmap(ICON_IMG_PATH) if is_windows else self.tk.call('wm', 'iconphoto', window._w, tk.PhotoImage(file=MAIN_ICON_IMG_PATH))
root_location_x = root.winfo_x()
root_location_y = root.winfo_y()
@ -7194,4 +7194,4 @@ if __name__ == "__main__":
root.update() if is_windows else root.update_idletasks()
root.deiconify()
root.configure(bg=BG_COLOR)
root.mainloop()
root.mainloop()