1
0
Fork 0
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:
Brian Fiete 2021-12-31 14:17:17 -05:00
parent 249f4f1016
commit ba0c23b8c5
3 changed files with 10 additions and 5 deletions

View file

@ -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);