--- a/Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.py Thu Sep 02 08:58:41 2010 +0200 +++ b/Plugins/VcsPlugins/vcsPySvn/SvnDiffDialog.py Thu Sep 02 16:36:23 2010 +0200 @@ -330,15 +330,12 @@ if ex: fname += ex if QFileInfo(fname).exists(): - res = E5MessageBox.warning(self, + res = E5MessageBox.yesNo(self, self.trUtf8("Save Diff"), - self.trUtf8("<p>The patch file <b>{0}</b> already exists.</p>") - .format(fname), - QMessageBox.StandardButtons(\ - QMessageBox.Abort | \ - QMessageBox.Save), - QMessageBox.Abort) - if res != QMessageBox.Save: + self.trUtf8("<p>The patch file <b>{0}</b> already exists." + " Overwrite it?</p>").format(fname), + type_ = E5MessageBox.Warning) + if not res: return fname = Utilities.toNativeSeparators(fname) @@ -360,4 +357,4 @@ """ self.errorGroup.show() self.errors.insertPlainText(msg) - self.errors.ensureCursorVisible() \ No newline at end of file + self.errors.ensureCursorVisible()