Skip to content

Commit 4028a80

Browse files
FIX: Add extension logo image anchor (#6251)
Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent dfb7c1b commit 4028a80

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

doc/changelog.d/6251.fixed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add extension logo image anchor

src/ansys/aedt/core/extensions/misc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def report_callback_exception_withdraw(self, exc, val, tb):
9696
# Load the logo for the main window
9797
icon_path = Path(ansys.aedt.core.extensions.__path__[0]) / "images" / "large" / "logo.png"
9898
im = PIL.Image.open(icon_path)
99-
photo = PIL.ImageTk.PhotoImage(im)
99+
photo = PIL.ImageTk.PhotoImage(im, master=root)
100100

101101
# Set the icon for the main window
102102
root.iconphoto(True, photo)

0 commit comments

Comments
 (0)