IDE: progress window: less overhead

git-svn-id: trunk@52773 -
This commit is contained in:
mattias 2016-08-02 07:44:44 +00:00
parent ae3d26a022
commit 098b1dfa3a

View File

@ -249,7 +249,7 @@ var
i: Integer;
begin
inherited Notification(AComponent, Operation);
if Operation=opRemove then
if (Operation=opRemove) and (Count>0) then
begin
DisableAutoSizing{$IFDEF DebugDisableAutoSizing}('TIDEProgressWindow.Notification'){$ENDIF};
try