mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
Fix detection of external modifications
This commit is contained in:
parent
d3ca45d80a
commit
64700d7a95
3 changed files with 17 additions and 6 deletions
|
@ -1473,6 +1473,12 @@ namespace IDE
|
|||
if (strOutDlg != null)
|
||||
strOutDlg(useText);
|
||||
|
||||
for (var entry in mWorkspace.mProjectFileEntries)
|
||||
{
|
||||
if (entry.mPath == path)
|
||||
entry.UpdateLastWriteTime();
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -2868,7 +2874,7 @@ namespace IDE
|
|||
}
|
||||
else
|
||||
{
|
||||
mWorkspace.mProjectFileEnties.Add(new .(workspaceFileName));
|
||||
mWorkspace.mProjectFileEntries.Add(new .(workspaceFileName));
|
||||
|
||||
if (mVerb == .New)
|
||||
{
|
||||
|
@ -13871,7 +13877,7 @@ namespace IDE
|
|||
CheckReloadSettings();
|
||||
|
||||
bool hadChange = false;
|
||||
for (var entry in mWorkspace.mProjectFileEnties)
|
||||
for (var entry in mWorkspace.mProjectFileEntries)
|
||||
{
|
||||
if (entry.HasFileChanged())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue