1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-11 12:54:15 +02:00

Fixed symbol renaming closing in temp tab

This commit is contained in:
Brian Fiete 2020-05-19 12:28:31 -07:00
parent 952e3aec58
commit 01f82d1250
3 changed files with 11 additions and 3 deletions

View file

@ -6100,7 +6100,8 @@ namespace IDE.ui
}*/
}
if (HasUnsavedChanges())
// When files changes we move it to the permanent area
if ((HasUnsavedChanges()) && (gApp.mSymbolReferenceHelper?.IsRenaming != true))
{
var parent = mParent;
while (parent != null)
@ -6113,7 +6114,6 @@ namespace IDE.ui
// Debug.Assert(activeTab.mContent == this);
if (activeTab.mIsRightTab)
{
// When files changes we move it to the permanent area
IDEApp.sApp.ShowSourceFile(mFilePath, mProjectSource, SourceShowType.ShowExisting, false);
}
break;