Skip to content

Commit

Permalink
Update resize_images.py - Properly set icon/appid
Browse files Browse the repository at this point in the history
  • Loading branch information
Nenotriple authored Jan 11, 2024
1 parent be4487c commit d261dbc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions resize_images.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"""



################################################################################################################################################
#region - Imports

Expand All @@ -30,6 +31,8 @@
from tkinter.scrolledtext import ScrolledText
from PIL import Image

myappid = 'ImgTxtViewer.Nenotriple'
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)

#endregion
################################################################################################################################################
Expand Down Expand Up @@ -348,8 +351,6 @@ def setup_root():
root.maxsize(2000,500)
root.update_idletasks()
set_icon(root)
myappid = 'ImgTxtViewer.Nenotriple'
ctypes.windll.shell32.SetCurrentProcessExplicitAppUserModelID(myappid)
return root


Expand Down

0 comments on commit d261dbc

Please sign in to comment.