From 6b4d8ba0971355027b8981a45a0a62ac1ef9a456 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Sun, 17 Sep 2017 17:39:24 -0700 Subject: [PATCH] [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) --- Lib/idlelib/configdialog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index 7feae5d619..0f530c66a1 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. -- 2.50.1