diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-09-30 10:27:14 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-30 10:27:14 -0700 |
commit | b61a51a450f8115ec1f174a00f4e70237148e92b (patch) | |
tree | a458f00e4d77781c817389765fbc51d7cde485af /Lib/idlelib/configdialog.py | |
parent | 1dc1d5d59a761a24e844d34d9acb6ed6e4cc3a31 (diff) | |
download | cpython-git-b61a51a450f8115ec1f174a00f4e70237148e92b.tar.gz |
bpo-35675: IDLE - separate config_key window and frame (GH-11427)
bpo-35598: IDLE: Refactor window and frame class
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
(cherry picked from commit 1cc308d03c1b44a0885a3c5f07d0786b49ea711d)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
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 09f455c250..43349cb07f 100644 --- a/Lib/idlelib/configdialog.py +++ b/Lib/idlelib/configdialog.py @@ -24,7 +24,7 @@ import tkinter.font as tkfont from tkinter import messagebox from idlelib.config import idleConf, ConfigChanges -from idlelib.config_key import GetKeysDialog +from idlelib.config_key import GetKeysWindow from idlelib.dynoption import DynOptionMenu from idlelib import macosx from idlelib.query import SectionName, HelpSource @@ -1397,7 +1397,7 @@ class KeysPage(Frame): for event in key_set_changes: current_bindings[event] = key_set_changes[event].split() current_key_sequences = list(current_bindings.values()) - new_keys = GetKeysDialog(self, 'Get New Keys', bind_name, + new_keys = GetKeysWindow(self, 'Get New Keys', bind_name, current_key_sequences).result if new_keys: if self.keyset_source.get(): # Current key set is a built-in. |