'File was just saved in another editorstack, let\'s synchronize!
This avoid file to be automatically reloaded
Filename is passed in case file was just saved as another name'

def file_saved_in_other_editorstack(self, index, filename):

    finfo = self.data[index]
    finfo.newly_created = False
    finfo.filename = to_text_string(filename)
    finfo.lastmodified = QFileInfo(finfo.filename).lastModified()
