- 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): def close(self):
reply = self.maybesave() reply = self.maybesave()
if reply != "cancel": if str(reply) != "cancel":
self._close() self._close()
return reply return reply

View file

@ -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
----------------- -----------------