Project/ProjectResourcesBrowser.py

changeset 553
5af61623ae3c
parent 541
00e1a5d060c5
child 564
b3d966393ba9
--- a/Project/ProjectResourcesBrowser.py	Fri Sep 03 18:53:24 2010 +0200
+++ b/Project/ProjectResourcesBrowser.py	Fri Sep 03 20:04:49 2010 +0200
@@ -408,7 +408,7 @@
                 res = E5MessageBox.yesNo(self,
                     self.trUtf8("New Resource"),
                     self.trUtf8("The file already exists! Overwrite it?"),
-                    type_ = E5MessageBox.Warning)
+                    icon = E5MessageBox.Warning)
                 if not res:
                     # user selected to not overwrite
                     return
@@ -814,4 +814,4 @@
             "compileChangedResources"   : None, 
             "compileSelectedResources"  : None, 
             "newResource"               : None, 
-        }
+        }
\ No newline at end of file

eric ide

mercurial