diff options
author | Guido van Rossum <guido@python.org> | 1998-10-12 16:07:27 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1998-10-12 16:07:27 (GMT) |
commit | 69ef7d6220f25b676f0db4bca9058d634ccf642f (patch) | |
tree | 0d3b40a0c826188c0df6094c32c5db6e23968c04 /Tools | |
parent | 06884363055a9d45daa1e5924aadba442e3d0a40 (diff) | |
download | cpython-69ef7d6220f25b676f0db4bca9058d634ccf642f.zip cpython-69ef7d6220f25b676f0db4bca9058d634ccf642f.tar.gz cpython-69ef7d6220f25b676f0db4bca9058d634ccf642f.tar.bz2 |
Add parent argument to 'to to line number' dialog box.
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/idle/SearchBinding.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/idle/SearchBinding.py b/Tools/idle/SearchBinding.py index 6abe5e0..392d205 100644 --- a/Tools/idle/SearchBinding.py +++ b/Tools/idle/SearchBinding.py @@ -74,7 +74,8 @@ class SearchBinding: 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: |