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 """ |