QScintilla/Exporters/ExporterBase.py

changeset 553
5af61623ae3c
parent 546
c3e7bf5648be
child 791
9ec2ac20e54e
equal deleted inserted replaced
551:e1074b63ff08 553:5af61623ae3c
55 if QFileInfo(fn).exists(): 55 if QFileInfo(fn).exists():
56 res = E5MessageBox.yesNo(self.editor, 56 res = E5MessageBox.yesNo(self.editor,
57 self.trUtf8("Export source"), 57 self.trUtf8("Export source"),
58 self.trUtf8("<p>The file <b>{0}</b> already exists." 58 self.trUtf8("<p>The file <b>{0}</b> already exists."
59 " Overwrite it?</p>").format(fn), 59 " Overwrite it?</p>").format(fn),
60 type_ = E5MessageBox.Warning) 60 icon = E5MessageBox.Warning)
61 if not res: 61 if not res:
62 return "" 62 return ""
63 63
64 fn = Utilities.toNativeSeparators(fn) 64 fn = Utilities.toNativeSeparators(fn)
65 65

eric ide

mercurial