diff --git a/ide/frames/editor_color_options.pas b/ide/frames/editor_color_options.pas index 6df88d3500..895b45c00e 100644 --- a/ide/frames/editor_color_options.pas +++ b/ide/frames/editor_color_options.pas @@ -1465,7 +1465,7 @@ begin if Sender = tglGlobal then tglLocal.Checked := not tglGlobal.Checked else - tglLocal.Checked := not tglGlobal.Checked; + tglGlobal.Checked := not tglLocal.Checked; UpdatingColor := False; if (FCurHighlightElement.GetSchemeGlobal <> nil) then begin