diff --git a/ide/frames/editor_color_options.pas b/ide/frames/editor_color_options.pas index f9c5a87e89..7f7e689fa1 100644 --- a/ide/frames/editor_color_options.pas +++ b/ide/frames/editor_color_options.pas @@ -723,7 +723,7 @@ var end; end; begin - if UpdatingColor or (hafStyleMask in FCurHighlightElement.Features) then + if UpdatingColor or not (hafStyleMask in FCurHighlightElement.Features) then Exit; AttrToEdit := FCurHighlightElement;