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;
if IsUsingSchemeGlobals then
Src := GetSchemeGlobal;
aDest.BeginUpdate;
aDest.Foreground := Src.Foreground;
aDest.Background := Src.Background;
aDest.FrameColor := Src.FrameColor;
aDest.Style := Src.Style;
aDest.StyleMask := Src.StyleMask;
aDest.EndUpdate;
end;
procedure TColorSchemeAttribute.Assign(Src: TPersistent);