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

Null check

This commit is contained in:
Brian Fiete 2022-01-07 06:42:16 -05:00
parent 815206a354
commit a679d4dd11

View file

@ -2434,6 +2434,8 @@ namespace IDE.ui
public void FocusEdit()
{
if (mWidgetWindow == null)
return;
let activePanel = GetActivePanel();
activePanel.mEditWidget?.SetFocus();