israel-dryer/ttkbootstrap

Handling of the Enter button is incorrect for Messagebox

Slarag opened this issue · 0 comments

Slarag commented

Desktop (please complete the following information):

ttkbootstrap Version: 1.10.1
OS: Independet

Describe the bug

Handling of the Enter button is incorrect for Messagebox

To Reproduce

  1. Run the following code:
import ttkbootstrap as ttk
ttk.dialogs.Messagebox.yesnocancel('')
  1. Select the Messagebox and press Enter
  2. This will return Cancel, allthough Yes is the default and is focused

Expected behavior

Should return the value of the currently selected button

Screenshots

No response

Additional context

No response