diff Lib/idlelib/ScriptBinding.py @ 27194:59309d4bf841 legacy-trunk

Default the OK key in the Save Before Run dialog.
author Kurt B. Kaiser <kbk@shore.net>
date Fri, 10 Jan 2003 03:06:30 +0000
parents b8c72e86a12d
children 882e3eeac3dd
line wrap: on
line diff
--- a/Lib/idlelib/ScriptBinding.py	Fri Jan 10 02:05:14 2003 +0000
+++ b/Lib/idlelib/ScriptBinding.py	Fri Jan 10 03:06:30 2003 +0000
@@ -155,6 +155,7 @@
                                 message=msg,
                                 icon=tkMessageBox.QUESTION,
                                 type=tkMessageBox.OKCANCEL,
+                                default=tkMessageBox.OK,
                                 master=self.editwin.text)
             reply = mb.show()
             if reply == "ok":