mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
This commit is contained in:
parent
1c3d0de472
commit
9e031c7c9d
2 changed files with 3 additions and 1 deletions
|
@ -819,7 +819,7 @@ class EditorWindow(object):
|
|||
|
||||
def close(self):
|
||||
reply = self.maybesave()
|
||||
if reply != "cancel":
|
||||
if str(reply) != "cancel":
|
||||
self._close()
|
||||
return reply
|
||||
|
||||
|
|
|
@ -248,6 +248,8 @@ Tools/Demos
|
|||
|
||||
- Patch #1552024: add decorator support to unparse.py demo script.
|
||||
|
||||
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
|
||||
|
||||
|
||||
Tests
|
||||
-----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue