diff --git a/uppsrc/ide/idefile.cpp b/uppsrc/ide/idefile.cpp index 9918e37bd..24e78b8d4 100644 --- a/uppsrc/ide/idefile.cpp +++ b/uppsrc/ide/idefile.cpp @@ -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;