mirror of
https://github.com/python/cpython.git
synced 2025-10-10 00:43:41 +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):
|
def close(self):
|
||||||
reply = self.maybesave()
|
reply = self.maybesave()
|
||||||
if reply != "cancel":
|
if str(reply) != "cancel":
|
||||||
self._close()
|
self._close()
|
||||||
return reply
|
return reply
|
||||||
|
|
||||||
|
|
|
@ -248,6 +248,8 @@ Tools/Demos
|
||||||
|
|
||||||
- Patch #1552024: add decorator support to unparse.py demo script.
|
- Patch #1552024: add decorator support to unparse.py demo script.
|
||||||
|
|
||||||
|
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
|
||||||
|
|
||||||
|
|
||||||
Tests
|
Tests
|
||||||
-----
|
-----
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue