1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-19 08:30:25 +02:00

Fixed crash pressing enter in output window

This commit is contained in:
Brian Fiete 2022-01-31 15:45:14 -05:00
parent 26506efc1e
commit 0ac49db97e

View file

@ -3661,7 +3661,7 @@ namespace IDE.ui
needsFreshAutoComplete = true;
}
if ((needsFreshAutoComplete) && (!didAutoComplete))
if ((needsFreshAutoComplete) && (!didAutoComplete) && (mOnGenerateAutocomplete != null))
{
if (IsCursorVisible(false))
mOnGenerateAutocomplete(keyChar, isHighPri ? .HighPriority : default);