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:
parent
a9d9776bcb
commit
330eb037e8
4 changed files with 41 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue