Project/ProjectFormsBrowser.py

changeset 553
5af61623ae3c
parent 541
00e1a5d060c5
child 564
b3d966393ba9
equal deleted inserted replaced
551:e1074b63ff08 553:5af61623ae3c
512 512
513 if os.path.exists(fname): 513 if os.path.exists(fname):
514 res = E5MessageBox.yesNo(self, 514 res = E5MessageBox.yesNo(self,
515 self.trUtf8("New Form"), 515 self.trUtf8("New Form"),
516 self.trUtf8("The file already exists! Overwrite it?"), 516 self.trUtf8("The file already exists! Overwrite it?"),
517 type_ = E5MessageBox.Warning) 517 icon = E5MessageBox.Warning)
518 if not res: 518 if not res:
519 # user selected to not overwrite 519 # user selected to not overwrite
520 return 520 return
521 521
522 try: 522 try:

eric ide

mercurial