UI/DiffDialog.py

changeset 553
5af61623ae3c
parent 546
c3e7bf5648be
child 564
b3d966393ba9
equal deleted inserted replaced
551:e1074b63ff08 553:5af61623ae3c
288 if QFileInfo(fname).exists(): 288 if QFileInfo(fname).exists():
289 res = E5MessageBox.yesNo(self, 289 res = E5MessageBox.yesNo(self,
290 self.trUtf8("Save Diff"), 290 self.trUtf8("Save Diff"),
291 self.trUtf8("<p>The patch file <b>{0}</b> already exists." 291 self.trUtf8("<p>The patch file <b>{0}</b> already exists."
292 " Overwrite it?</p>").format(fname), 292 " Overwrite it?</p>").format(fname),
293 type_ = E5MessageBox.Warning) 293 icon = E5MessageBox.Warning)
294 if not res: 294 if not res:
295 return 295 return
296 fname = Utilities.toNativeSeparators(fname) 296 fname = Utilities.toNativeSeparators(fname)
297 297
298 try: 298 try:

eric ide

mercurial