Project/ProjectResourcesBrowser.py

changeset 553
5af61623ae3c
parent 541
00e1a5d060c5
child 564
b3d966393ba9
equal deleted inserted replaced
551:e1074b63ff08 553:5af61623ae3c
406 406
407 if os.path.exists(fname): 407 if os.path.exists(fname):
408 res = E5MessageBox.yesNo(self, 408 res = E5MessageBox.yesNo(self,
409 self.trUtf8("New Resource"), 409 self.trUtf8("New Resource"),
410 self.trUtf8("The file already exists! Overwrite it?"), 410 self.trUtf8("The file already exists! Overwrite it?"),
411 type_ = E5MessageBox.Warning) 411 icon = E5MessageBox.Warning)
412 if not res: 412 if not res:
413 # user selected to not overwrite 413 # user selected to not overwrite
414 return 414 return
415 415
416 try: 416 try:

eric ide

mercurial