Merged revision(s) 55220 #d3f428a7d5, 55249 #dd9bed2d96 from trunk:

IDE: ObjectInspector: Fixed OI don't show "default" in list of font names. Issue #31958
........
IDE: Fixed TControl.InvalidatePreferredSize loop detected. Issue #30617
........

git-svn-id: branches/fixes_1_8@55254 -
This commit is contained in:
maxim 2017-06-05 22:43:19 +00:00
parent 02956076e4
commit 417085fa70
2 changed files with 2 additions and 1 deletions

View File

@ -443,6 +443,7 @@ procedure TFontNamePropertyEditor.GetValues(Proc: TGetStrProc);
var
I: Integer;
begin
Proc('default');
for I := 0 to Screen.Fonts.Count -1 do
Proc(Screen.Fonts[I]);
end;

View File

@ -213,7 +213,7 @@ end;
procedure TScrollingWinControl.UpdateScrollbars;
begin
if ([csLoading, csDestroying] * ComponentState <> []) then Exit;
if ([csLoading, csDestroying, csDesigning] * ComponentState <> []) then Exit;
if not HandleAllocated then Exit;
if (HorzScrollBar = nil) or (VertScrollBar = nil) then Exit;