projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33e0f38
)
Default the OK key in the Save Before Run dialog.
author
Kurt B. Kaiser
<kbk@shore.net>
Fri, 10 Jan 2003 03:06:30 +0000
(
03:06
+0000)
committer
Kurt B. Kaiser
<kbk@shore.net>
Fri, 10 Jan 2003 03:06:30 +0000
(
03:06
+0000)
Lib/idlelib/ScriptBinding.py
patch
|
blob
|
history
diff --git
a/Lib/idlelib/ScriptBinding.py
b/Lib/idlelib/ScriptBinding.py
index 0140c6943047e1e902ee2edb96c71ae00e63595a..dcb5f9a70400b9515bcffc2668826ba82e75baaf 100644
(file)
--- 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":