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
- Run the following code:
import ttkbootstrap as ttk
ttk.dialogs.Messagebox.yesnocancel('')
- Select the Messagebox and press Enter
- 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