mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-12 05:14:10 +02:00
Null check
This commit is contained in:
parent
815206a354
commit
a679d4dd11
1 changed files with 2 additions and 0 deletions
|
@ -2434,6 +2434,8 @@ namespace IDE.ui
|
||||||
|
|
||||||
public void FocusEdit()
|
public void FocusEdit()
|
||||||
{
|
{
|
||||||
|
if (mWidgetWindow == null)
|
||||||
|
return;
|
||||||
let activePanel = GetActivePanel();
|
let activePanel = GetActivePanel();
|
||||||
activePanel.mEditWidget?.SetFocus();
|
activePanel.mEditWidget?.SetFocus();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue