src/eric7/ViewManager/ViewManager.py

branch
eric7
changeset 9601
5be43798a735
parent 9597
5f56fbdb3e3c
child 9602
28e7f6cdf385
equal deleted inserted replaced
9600:367d1b4fcca8 9601:5be43798a735
5387 """ 5387 """
5388 if editor.isModified(): 5388 if editor.isModified():
5389 fn = editor.getFileName() 5389 fn = editor.getFileName()
5390 # ignore the dirty status, if there is more than one open editor 5390 # ignore the dirty status, if there is more than one open editor
5391 # for the same file 5391 # for the same file
5392 if fn and self.getOpenEditorCount(fn) > 1: 5392 if fn and self.getOpenEditorCount(fn) > 1 and not autosave:
5393 return True 5393 return True
5394 5394
5395 if fn is None: 5395 if fn is None:
5396 fn = editor.getNoName() 5396 fn = editor.getNoName()
5397 autosave = False 5397 autosave = False

eric ide

mercurial