mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Default the OK key in the Save Before Run dialog.
This commit is contained in:
parent
33e0f383d4
commit
a5e8bb94e5
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue