summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/query.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2016-07-28 01:42:54 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2016-07-28 01:42:54 (GMT)
commit6b37dfce5bafe96472f8936a7a44fad0abae9e98 (patch)
treecdfb221e745e01aee3fff20db8840c48a4f28ad4 /Lib/idlelib/query.py
parent263893c2619c3df19770c0bf8c78bd1b427e3e5a (diff)
downloadcpython-6b37dfce5bafe96472f8936a7a44fad0abae9e98.zip
cpython-6b37dfce5bafe96472f8936a7a44fad0abae9e98.tar.gz
cpython-6b37dfce5bafe96472f8936a7a44fad0abae9e98.tar.bz2
Issue #27620: Mark the default action button as the default.
Diffstat (limited to 'Lib/idlelib/query.py')
-rw-r--r--Lib/idlelib/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/query.py b/Lib/idlelib/query.py
index c4e2891..c806c6b 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)