Tue, 19 Feb 2019 19:02:21 +0100
PixmapCache: fixed a format issue generating the pixmap key when a size was given.
UI/PixmapCache.py | file | annotate | diff | comparison | revisions |
--- a/UI/PixmapCache.py Tue Feb 19 18:16:45 2019 +0100 +++ b/UI/PixmapCache.py Tue Feb 19 19:02:21 2019 +0100 @@ -42,7 +42,8 @@ if key: basename, ext = os.path.splitext(key) if size and not size.isEmpty(): - key = "{0}_{1}_{2}".format(size.width(), size.height()) + key = "{0}_{1}_{2}".format( + basename, size.width(), size.height()) else: key = basename