mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-31502: IDLE Configdialog again deletes custom themes and keysets. (#3634)
This reverses a never-released regression resulting from bpo-31287.
This commit is contained in:
parent
4ab46d7949
commit
0efc7c67a2
1 changed files with 2 additions and 2 deletions
|
@ -1237,7 +1237,7 @@ class HighPage(Frame):
|
|||
|
||||
def askyesno(self, *args, **kwargs):
|
||||
# Make testing easier. Could change implementation.
|
||||
messagebox.askyesno(*args, **kwargs)
|
||||
return messagebox.askyesno(*args, **kwargs)
|
||||
|
||||
def delete_custom(self):
|
||||
"""Handle event to delete custom theme.
|
||||
|
@ -1683,7 +1683,7 @@ class KeysPage(Frame):
|
|||
|
||||
def askyesno(self, *args, **kwargs):
|
||||
# Make testing easier. Could change implementation.
|
||||
messagebox.askyesno(*args, **kwargs)
|
||||
return messagebox.askyesno(*args, **kwargs)
|
||||
|
||||
def delete_custom_keys(self):
|
||||
"""Handle event to delete a custom key set.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue