--- a/QScintilla/Editor.py Sat Sep 04 13:12:07 2010 +0200 +++ b/QScintilla/Editor.py Sat Sep 04 14:59:00 2010 +0200 @@ -3970,9 +3970,9 @@ """ Private slot handling the save as context menu entry. """ - ok, newName = self.saveFileAs() + ok = self.saveFileAs() if ok: - self.vm.setEditorName(self, newName) + self.vm.setEditorName(self, self.fileName) def __contextClose(self): """ @@ -5728,4 +5728,4 @@ command = self.__receivedWhileSyncing.pop(0) self.__dispatchCommand(command) - self.__isSyncing = False \ No newline at end of file + self.__isSyncing = False