Commit 6b37dfce authored by Terry Jan Reedy's avatar Terry Jan Reedy

Issue #27620: Mark the default action button as the default.

parent 263893c2
...@@ -83,7 +83,7 @@ class Query(Toplevel): ...@@ -83,7 +83,7 @@ class Query(Toplevel):
self.entry.focus_set() self.entry.focus_set()
buttons = Frame(self) buttons = Frame(self)
self.button_ok = Button(buttons, text='Ok', self.button_ok = Button(buttons, text='Ok', default='active',
width=8, command=self.ok) width=8, command=self.ok)
self.button_cancel = Button(buttons, text='Cancel', self.button_cancel = Button(buttons, text='Cancel',
width=8, command=self.cancel) width=8, command=self.cancel)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment