summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/ScriptBinding.py1
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":