mirror of https://github.com/python/cpython.git
Add parent argument to 'to to line number' dialog box.
This commit is contained in:
parent
0688436305
commit
69ef7d6220
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue