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

Null check

This commit is contained in:
Brian Fiete 2024-03-03 06:29:47 -05:00
parent 9c1bf60780
commit ae6a2b7ca4

View file

@ -2307,7 +2307,7 @@ namespace IDE.ui
BFApp.sApp.DeferDelete(editWidget);
mEditWidget = null;
if (mWidgetWindow.mFocusWidget == null)
if (mWidgetWindow?.mFocusWidget == null)
SetFocus();
if ((mHasFocus) && (!removedItem))
listViewItem.GetSubItem(0).Focused = true;