IDE/Options: Fixed crash when opening color settings for the assembler window

This commit is contained in:
n7800 2024-10-22 05:55:49 +05:00
parent 087c6f6673
commit ec7549e1c0

View File

@ -1231,7 +1231,8 @@ begin
FCurHighlightElement := nil;
FindCurHighlightElement;
ComplWindowEntryParentNode.Collapse(True);
if assigned(ComplWindowEntryParentNode) then
ComplWindowEntryParentNode.Collapse(True);
end;
procedure TEditorColorOptionsFrame.SetColorElementsToDefaults(OnlySelected: Boolean);