mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
ide: Fixed issue with new file automatic #include line being erased by CheckFileUpdate
This commit is contained in:
parent
2aa3792c64
commit
383bf9ce4b
1 changed files with 1 additions and 1 deletions
|
|
@ -860,7 +860,7 @@ void Ide::EditFile(const String& p)
|
|||
|
||||
void Ide::CheckFileUpdate()
|
||||
{
|
||||
if(editfile.IsEmpty() || !IsForeground() || designer) return;
|
||||
if(editfile.IsEmpty() || !IsForeground() || designer || !FileExists(editfile)) return;
|
||||
FileTime tm = GetFileTime(editfile);
|
||||
if(tm == edittime) return;
|
||||
edittime = tm;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue