diff --git a/Terminal.Gui/Core.cs b/Terminal.Gui/Core.cs index 9f569b396..b4b9db72d 100644 --- a/Terminal.Gui/Core.cs +++ b/Terminal.Gui/Core.cs @@ -907,7 +907,7 @@ namespace Terminal.Gui { public void FocusFirst () { if (subviews == null) { - SuperView.SetFocus (this); + SuperView?.SetFocus (this); return; }