mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 00:20:25 +02:00
Fixed 'method not generated' comptime error
This commit is contained in:
parent
249f4f1016
commit
ba0c23b8c5
3 changed files with 10 additions and 5 deletions
|
@ -693,7 +693,11 @@ namespace IDE.ui
|
|||
{
|
||||
mPendingUIFocus = false;
|
||||
if (!mUIEntries.IsEmpty)
|
||||
mUIEntries[0].mWidget.SetFocus();
|
||||
{
|
||||
var widget = mUIEntries[0].mWidget;
|
||||
if (widget.mWidgetWindow != null)
|
||||
widget.SetFocus();
|
||||
}
|
||||
}
|
||||
|
||||
DeleteAndNullify!(mUIData);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue