PixmapCache: fixed an issue of the recent chnges.

Sat, 16 Feb 2019 17:22:24 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 16 Feb 2019 17:22:24 +0100
changeset 6772
b48db2a31d21
parent 6771
bcffbb627791
child 6774
940359b3c011
child 6775
a84449ccb414

PixmapCache: fixed an issue of the recent chnges.

UI/PixmapCache.py file | annotate | diff | comparison | revisions
--- a/UI/PixmapCache.py	Sat Feb 16 17:02:46 2019 +0100
+++ b/UI/PixmapCache.py	Sat Feb 16 17:22:24 2019 +0100
@@ -42,7 +42,7 @@
         if key:
             basename, ext = os.path.splitext(key)
             if size and not size.isEmpty():
-                key = "{0}_{1}_{2}"
+                key = "{0}_{1}_{2}".format(size.width(), size.height())
             else:
                 key = basename
             

eric ide

mercurial