Default the OK key in the Save Before Run dialog.

This commit is contained in:
Kurt B. Kaiser 2003-01-10 03:06:30 +00:00
parent 33e0f383d4
commit a5e8bb94e5
1 changed files with 1 additions and 0 deletions

View File

@ -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":