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 |