- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).

This commit is contained in:
Matthias Klose 2007-01-11 11:44:04 +00:00
parent 764a7ec8ca
commit a398e2d059
2 changed files with 3 additions and 1 deletions

View File

@ -819,7 +819,7 @@ class EditorWindow(object):
def close(self):
reply = self.maybesave()
if reply != "cancel":
if str(reply) != "cancel":
self._close()
return reply

View File

@ -286,6 +286,8 @@ Library
- fixed a bug with bsddb.DB.stat: the flags and txn keyword arguments
were transposed.
- idle: Honor the "Cancel" action in the save dialog (Debian bug #299092).
Extension Modules
-----------------