summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-09-18 00:39:24 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2017-09-18 00:39:24 (GMT)
commit6b4d8ba0971355027b8981a45a0a62ac1ef9a456 (patch)
tree8c054bd6efe7f9d745cd4dcadbb5c94e094a81f7 /Lib
parent4f6bae9677c0e5398e64c503fd3c19cae94567da (diff)
downloadcpython-6b4d8ba0971355027b8981a45a0a62ac1ef9a456.zip
cpython-6b4d8ba0971355027b8981a45a0a62ac1ef9a456.tar.gz
cpython-6b4d8ba0971355027b8981a45a0a62ac1ef9a456.tar.bz2
[3.6] bpo-31502: IDLE Configdialog again deletes custom themes and keysets. (GH-3634) (#3636)
This reverses a never-released regression resulting from bpo-31287. (cherry picked from commit 0efc7c67a2f8a184e93f9a491305c81ef2e24250)
Diffstat (limited to 'Lib')
-rw-r--r--Lib/idlelib/configdialog.py4
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.