QScintilla/Editor.py

changeset 559
ee695ebbd6e0
parent 553
5af61623ae3c
child 564
b3d966393ba9
--- 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

eric ide

mercurial