IconEditor/IconEditorPalette.py

changeset 414
8c91e942d2da
parent 13
1af94a91f439
child 464
a2b1d1770ef0
diff -r 3d82e6eb3516 -r 8c91e942d2da IconEditor/IconEditorPalette.py
--- a/IconEditor/IconEditorPalette.py	Tue Jul 27 12:33:08 2010 +0200
+++ b/IconEditor/IconEditorPalette.py	Tue Jul 27 12:44:19 2010 +0200
@@ -98,7 +98,8 @@
         self.__color.setPixmap(pm)
         
         self.__colorTxt.setText(
-            "%d, %d, %d, %d" % (color.red(), color.green(), color.blue(), color.alpha()))
+            "{0:d}, {1:d}, {2:d}, {3:d}".format(
+                color.red(), color.green(), color.blue(), color.alpha()))
         
         self.__colorAlpha.setValue(self.__currentAlpha)
     

eric ide

mercurial