don't exit if timerUpdateKind is changed from delay to loop

This commit is contained in:
Basile Burg 2019-02-08 22:16:16 +01:00
parent 0f04a66e63
commit e11293c70c
1 changed files with 2 additions and 3 deletions

View File

@ -293,8 +293,7 @@ begin
end end
else else
begin begin
if fUpdateTimer.isNotNil then if fUpdateTimer.isNil then
exit;
fUpdateTimer := TTimer.Create(nil); fUpdateTimer := TTimer.Create(nil);
if fTimerUpdateKind = tukDelay then if fTimerUpdateKind = tukDelay then
begin begin