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:
parent
a9ee5c4dde
commit
7fdce4b5af
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue