mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Issue #11053: Fix IDLE "Syntax Error" windows to behave as in 2.x,
preventing a confusing hung appearance on OS X with the windows obscured. (with release manager approval for 3.2rc2)
This commit is contained in:
parent
70063937ec
commit
806c944edb
2 changed files with 6 additions and 2 deletions
|
@ -190,10 +190,10 @@ class ScriptBinding:
|
|||
icon=tkMessageBox.QUESTION,
|
||||
type=tkMessageBox.OKCANCEL,
|
||||
default=tkMessageBox.OK,
|
||||
parent=self.editwin.text)
|
||||
master=self.editwin.text)
|
||||
return mb.show()
|
||||
|
||||
def errorbox(self, title, message):
|
||||
# XXX This should really be a function of EditorWindow...
|
||||
tkMessageBox.showerror(title, message, parent=self.editwin.text)
|
||||
tkMessageBox.showerror(title, message, master=self.editwin.text)
|
||||
self.editwin.text.focus_set()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue