1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-22 17:48:01 +02:00

Fixed save buffers during symbol rename

This commit is contained in:
Brian Fiete 2020-11-08 07:45:37 -08:00
parent a9d9776bcb
commit 330eb037e8
4 changed files with 41 additions and 9 deletions

View file

@ -60,7 +60,7 @@ namespace IDE.Util
mUndoData.mUndoCount++;
if (mUndoData.mPerforming)
return true;
return true;
mUndoData.mPerforming = true;
for (var editData in mUndoData.mFileEditDatas)
@ -78,6 +78,11 @@ namespace IDE.Util
break;
}
if (!editData.HasEditPanel())
{
gApp.SaveFile(editData);
}
if (IDEApp.IsBeefFile(editData.mFilePath))
{
for (var projectSource in editData.mProjectSources)
@ -122,6 +127,11 @@ namespace IDE.Util
break;
}
if (!editData.HasEditPanel())
{
gApp.SaveFile(editData);
}
if (IDEApp.IsBeefFile(editData.mFilePath))
{
for (var projectSource in editData.mProjectSources)