1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-11 21:04:10 +02:00

Fixed crash closing window with 'old version' showing

This commit is contained in:
Brian Fiete 2020-09-16 05:58:05 -07:00
parent a9ee5c4dde
commit 7fdce4b5af

View file

@ -3579,6 +3579,7 @@ namespace IDE.ui
if (mOldVersionPanel != null)
{
if (mEditWidget != null)
mEditWidget.mVisible = true;
if (mOldVersionPanel.mParent != null)
mOldVersionPanel.RemoveSelf();
@ -3587,10 +3588,12 @@ namespace IDE.ui
//delete mOldVersionPanel;
mOldVersionPanel = null;
if (mWidgetWindow != null)
{
FocusEdit();
ResizeComponents();
}
}
}
public void ShowHotFileIdx(int hotFileIdx)
{