mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-10 21:30:35 +02:00
LCL: TTimer: checking csDesgning is no longer useful, since SetDesigning works recursive
git-svn-id: trunk@30500 -
This commit is contained in:
parent
ab52351a55
commit
1e43eccbfd
@ -129,7 +129,7 @@ procedure TCustomTimer.UpdateTimer;
|
||||
begin
|
||||
KillTimer;
|
||||
if (FEnabled) and (FInterval > 0)
|
||||
and (([csDesigning,csLoading,csDestroying]*ComponentState=[]))
|
||||
and (([csLoading,csDestroying]*ComponentState=[]))
|
||||
and Assigned (FOnTimer) then begin
|
||||
//DebugLn(['TCustomTimer.UpdateTimer ',dbgsName(Self),' WidgetSet.CreateTimer']);
|
||||
FTimerHandle := WidgetSet.CreateTimer(FInterval, @Timer);
|
||||
|
Loading…
Reference in New Issue
Block a user