mirror of https://github.com/python/cpython
Default the OK key in the Save Before Run dialog.
This commit is contained in:
parent
33e0f383d4
commit
a5e8bb94e5
|
@ -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":
|
||||
|
|
Loading…
Reference in New Issue