diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2017-09-18 00:13:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-18 00:13:25 (GMT) |
commit | 0efc7c67a2f8a184e93f9a491305c81ef2e24250 (patch) | |
tree | 166bb678968111103696727f7cda2e8e5fb426e8 /Lib/idlelib/configdialog.py | |
parent | 4ab46d794961491ed185c195d53da7ee6a16e646 (diff) | |
download | cpython-0efc7c67a2f8a184e93f9a491305c81ef2e24250.zip cpython-0efc7c67a2f8a184e93f9a491305c81ef2e24250.tar.gz cpython-0efc7c67a2f8a184e93f9a491305c81ef2e24250.tar.bz2 |
bpo-31502: IDLE Configdialog again deletes custom themes and keysets. (#3634)
This reverses a never-released regression resulting from bpo-31287.
Diffstat (limited to 'Lib/idlelib/configdialog.py')
-rw-r--r-- | Lib/idlelib/configdialog.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index 7feae5d..0f530c6 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -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. |