diff --git a/ide/editoroptions.pp b/ide/editoroptions.pp index ed2ca25e01..d823909521 100644 --- a/ide/editoroptions.pp +++ b/ide/editoroptions.pp @@ -2947,6 +2947,7 @@ begin SetPreviewSynInAllPreviews; FillColorElementListBox; FindCurHighlightElement; + InvalidatePreviews; end// change the colorscheme ; end diff --git a/ide/editoroptions_new.pp b/ide/editoroptions_new.pp index 0e7e49b4bc..d7f48a525f 100644 --- a/ide/editoroptions_new.pp +++ b/ide/editoroptions_new.pp @@ -814,6 +814,7 @@ begin SetPreviewSynInAllPreviews; FillColorElementListBox; FindCurHighlightElement; + InvalidatePreviews; end// change the colorscheme ; end