QScintilla/Editor.py

changeset 559
ee695ebbd6e0
parent 553
5af61623ae3c
child 564
b3d966393ba9
equal deleted inserted replaced
558:61f00df934e7 559:ee695ebbd6e0
3968 3968
3969 def __contextSaveAs(self): 3969 def __contextSaveAs(self):
3970 """ 3970 """
3971 Private slot handling the save as context menu entry. 3971 Private slot handling the save as context menu entry.
3972 """ 3972 """
3973 ok, newName = self.saveFileAs() 3973 ok = self.saveFileAs()
3974 if ok: 3974 if ok:
3975 self.vm.setEditorName(self, newName) 3975 self.vm.setEditorName(self, self.fileName)
3976 3976
3977 def __contextClose(self): 3977 def __contextClose(self):
3978 """ 3978 """
3979 Private slot handling the close context menu entry. 3979 Private slot handling the close context menu entry.
3980 """ 3980 """

eric ide

mercurial