From 69ef7d6220f25b676f0db4bca9058d634ccf642f Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 12 Oct 1998 16:07:27 +0000 Subject: [PATCH] Add parent argument to 'to to line number' dialog box. --- Tools/idle/SearchBinding.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Tools/idle/SearchBinding.py b/Tools/idle/SearchBinding.py index 6abe5e0217a..392d2055716 100644 --- a/Tools/idle/SearchBinding.py +++ b/Tools/idle/SearchBinding.py @@ -74,7 +74,8 @@ def find_next_event(self, event): def goto_line_event(self, event): lineno = tkSimpleDialog.askinteger("Goto", - "Go to line number:") + "Go to line number:", + parent=self.text) if lineno is None: return "break" if lineno <= 0: