EditorOptions: call BeginUpdate, before setting colors

git-svn-id: trunk@25755 -
This commit is contained in:
martin 2010-05-30 00:42:23 +00:00
parent 63fe4cd1db
commit 6c496f0876

View File

@ -4008,11 +4008,13 @@ begin
Src := Self; Src := Self;
if IsUsingSchemeGlobals then if IsUsingSchemeGlobals then
Src := GetSchemeGlobal; Src := GetSchemeGlobal;
aDest.BeginUpdate;
aDest.Foreground := Src.Foreground; aDest.Foreground := Src.Foreground;
aDest.Background := Src.Background; aDest.Background := Src.Background;
aDest.FrameColor := Src.FrameColor; aDest.FrameColor := Src.FrameColor;
aDest.Style := Src.Style; aDest.Style := Src.Style;
aDest.StyleMask := Src.StyleMask; aDest.StyleMask := Src.StyleMask;
aDest.EndUpdate;
end; end;
procedure TColorSchemeAttribute.Assign(Src: TPersistent); procedure TColorSchemeAttribute.Assign(Src: TPersistent);