diff options
author | Kurt B. Kaiser <kbk@shore.net> | 2003-01-10 03:06:30 (GMT) |
---|---|---|
committer | Kurt B. Kaiser <kbk@shore.net> | 2003-01-10 03:06:30 (GMT) |
commit | a5e8bb94e56bf5f1e304064c8f9dc96e87980326 (patch) | |
tree | 7210515fc11e7d0b44553a366ddc99ea58200795 | |
parent | 33e0f383d488ed3f199f2efcb080e2b6b4dc6161 (diff) | |
download | cpython-a5e8bb94e56bf5f1e304064c8f9dc96e87980326.zip cpython-a5e8bb94e56bf5f1e304064c8f9dc96e87980326.tar.gz cpython-a5e8bb94e56bf5f1e304064c8f9dc96e87980326.tar.bz2 |
Default the OK key in the Save Before Run dialog.
-rw-r--r-- | Lib/idlelib/ScriptBinding.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/idlelib/ScriptBinding.py b/Lib/idlelib/ScriptBinding.py index 0140c69..dcb5f9a 100644 --- a/Lib/idlelib/ScriptBinding.py +++ b/Lib/idlelib/ScriptBinding.py @@ -155,6 +155,7 @@ class ScriptBinding: message=msg, icon=tkMessageBox.QUESTION, type=tkMessageBox.OKCANCEL, + default=tkMessageBox.OK, master=self.editwin.text) reply = mb.show() if reply == "ok": |