diff -r 8081031061a2 -r 682750cc7bd5 QScintilla/Editor.py --- a/QScintilla/Editor.py Sun Apr 03 16:33:37 2016 +0200 +++ b/QScintilla/Editor.py Sun Apr 03 17:07:25 2016 +0200 @@ -5354,7 +5354,7 @@ @return flag indicating this editor should be saved (boolean) """ - return bool (self.fileName) and \ + return bool(self.fileName) and \ not self.autosaveManuallyDisabled and \ not self.isReadOnly()