src/eric7/QScintilla/Editor.py

branch
eric7-maintenance
changeset 9304
afbd61b99bf4
parent 9264
18a7312cfdb3
child 9371
1da8bc75946f
equal deleted inserted replaced
9265:eafe8e83e3ef 9304:afbd61b99bf4
3523 return True 3523 return True
3524 else: 3524 else:
3525 self.lastModified = ( 3525 self.lastModified = (
3526 pathlib.Path(fn).stat().st_mtime if pathlib.Path(fn).exists() else 0 3526 pathlib.Path(fn).stat().st_mtime if pathlib.Path(fn).exists() else 0
3527 ) 3527 )
3528 0
3529 )
3530 return False 3528 return False
3531 3529
3532 def saveFileAs(self, path=None, toProject=False): 3530 def saveFileAs(self, path=None, toProject=False):
3533 """ 3531 """
3534 Public slot to save a file with a new name. 3532 Public slot to save a file with a new name.

eric ide

mercurial