mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Add parent argument to 'to to line number' dialog box.
This commit is contained in:
parent
0688436305
commit
69ef7d6220
1 changed files with 2 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue