summaryrefslogtreecommitdiff
path: root/Lib/idlelib/config_key.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/idlelib/config_key.py')
-rw-r--r--Lib/idlelib/config_key.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/idlelib/config_key.py b/Lib/idlelib/config_key.py
index 7510aa9f3d..9ca3a156f4 100644
--- a/Lib/idlelib/config_key.py
+++ b/Lib/idlelib/config_key.py
@@ -4,6 +4,7 @@ Dialog for building Tkinter accelerator key bindings
from tkinter import Toplevel, Listbox, StringVar, TclError
from tkinter.ttk import Frame, Button, Checkbutton, Entry, Label, Scrollbar
from tkinter import messagebox
+from tkinter.simpledialog import _setup_dialog
import string
import sys
@@ -63,6 +64,7 @@ class GetKeysDialog(Toplevel):
self.resizable(height=False, width=False)
self.title(title)
self.transient(parent)
+ _setup_dialog(self)
self.grab_set()
self.protocol("WM_DELETE_WINDOW", self.cancel)
self.parent = parent