diff --git a/pysollib/winsystems/common.py b/pysollib/winsystems/common.py index 0edd3212..d4ca0df8 100644 --- a/pysollib/winsystems/common.py +++ b/pysollib/winsystems/common.py @@ -93,6 +93,7 @@ def base_init_root_window(root, app): if TOOLKIT == 'tk': icons = [loadImage(img) for img in app.dataloader.findAllIconSizes()] + icons.sort(reverse=True, key=lambda img: img.width()) if icons: try: root.wm_iconphoto(True, *icons)