diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2016-07-27 21:42:54 -0400 |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2016-07-27 21:42:54 -0400 |
commit | d4e20f2d0ce5d362231a4c032b201da87876aff5 (patch) | |
tree | 2316c99c8132e7099b64b1aee50616746acb039c /Lib/idlelib/query.py | |
parent | 529bef9874d8de2a6109015d232775bedaa7bce3 (diff) | |
download | cpython-d4e20f2d0ce5d362231a4c032b201da87876aff5.tar.gz |
Issue #27620: Mark the default action button as the default.
Diffstat (limited to 'Lib/idlelib/query.py')
-rw-r--r-- | Lib/idlelib/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/query.py b/Lib/idlelib/query.py index c4e2891f25..c806c6b196 100644 --- a/Lib/idlelib/query.py +++ b/Lib/idlelib/query.py @@ -83,7 +83,7 @@ class Query(Toplevel): self.entry.focus_set() buttons = Frame(self) - self.button_ok = Button(buttons, text='Ok', + self.button_ok = Button(buttons, text='Ok', default='active', width=8, command=self.ok) self.button_cancel = Button(buttons, text='Cancel', width=8, command=self.cancel) |