Sfoglia il codice sorgente

Null panel fix during hook

Brian Fiete 1 settimana fa
parent
commit
48aad6eb3a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      IDE/src/ui/SourceViewPanel.bf

+ 1 - 1
IDE/src/ui/SourceViewPanel.bf

@@ -193,7 +193,7 @@ namespace IDE.ui
 		{
 			if (keyEvent.mKeyCode == .Escape)
 			{
-				if (mPanel.mQuickFind?.mWidgetWindow != null)
+				if (mPanel?.mQuickFind?.mWidgetWindow != null)
 				{
 					mPanel.mQuickFind.Close();
 					return;