diff -r c3e7bf5648be -r cceececd1312 QScintilla/Editor.py --- a/QScintilla/Editor.py Thu Sep 02 16:36:23 2010 +0200 +++ b/QScintilla/Editor.py Fri Sep 03 10:05:50 2010 +0200 @@ -2190,7 +2190,7 @@ if ok: self.vm.setEditorName(self, newName) return ok - elif res == QMessageBox.Abort or res == QMessageBox.Cancel: + elif res == QMessageBox.Abort: return False return True