[Python-checkins] cpython: Issue #27620: Mark the default action button as the default.

terry.reedy python-checkins at python.org
Wed Jul 27 21:43:15 EDT 2016


https://hg.python.org/cpython/rev/2468581846da
changeset:   102468:2468581846da
user:        Terry Jan Reedy <tjreedy at udel.edu>
date:        Wed Jul 27 21:42:54 2016 -0400
summary:
  Issue #27620: Mark the default action button as the default.

files:
  Lib/idlelib/query.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/idlelib/query.py b/Lib/idlelib/query.py
--- a/Lib/idlelib/query.py
+++ b/Lib/idlelib/query.py
@@ -83,7 +83,7 @@
         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)

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list