mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
This commit is contained in:
parent
764a7ec8ca
commit
a398e2d059
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
|
||||||
|
|
||||||
|
|
|
@ -286,6 +286,8 @@ Library
|
||||||
- fixed a bug with bsddb.DB.stat: the flags and txn keyword arguments
|
- fixed a bug with bsddb.DB.stat: the flags and txn keyword arguments
|
||||||
were transposed.
|
were transposed.
|
||||||
|
|
||||||
|
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
|
||||||
|
|
||||||
|
|
||||||
Extension Modules
|
Extension Modules
|
||||||
-----------------
|
-----------------
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue