Commit 69ef7d62 authored by Guido van Rossum's avatar Guido van Rossum

Add parent argument to 'to to line number' dialog box.

parent 06884363
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment