QScintilla/Editor.py

changeset 109
9c72858d4b7a
parent 97
c4086afea02b
child 115
13d58f643b43
--- a/QScintilla/Editor.py	Mon Feb 08 18:16:15 2010 +0000
+++ b/QScintilla/Editor.py	Fri Feb 12 18:48:21 2010 +0000
@@ -4774,12 +4774,12 @@
                 msg = self.trUtf8(\
                     """<p>The file <b>{0}</b> has been changed while it was opened in"""
                     """ eric5. Reread it?</p>""").format(self.fileName)
-                default = QMessageBox.No
+                default = QMessageBox.Yes
                 if self.isModified():
                     msg += self.trUtf8(\
                         """<br><b>Warning:</b> You will loose"""
                         """ your changes upon reopening it.""")
-                    default = QMessageBox.Ok
+                    default = QMessageBox.No
                 res = QMessageBox.warning(None,
                     self.trUtf8("File changed"), msg,
                     QMessageBox.StandardButtons(\

eric ide

mercurial