File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -496,6 +496,8 @@ procedure TTaskbars.NotifyAreaVisible(visible: Boolean);
496
496
var
497
497
I: Integer;
498
498
begin
499
+ if FUpdating then Exit;
500
+
499
501
for I := 0 to Count - 1 do
500
502
if visible then
501
503
ShowWindow(Items[I]._trayNotifyWnd.Handle, SW_SHOWNOACTIVATE)
@@ -603,6 +605,8 @@ procedure TTaskbars.RestoreAllStarts;
603
605
var
604
606
I: Integer;
605
607
begin
608
+ if FUpdating then Exit;
609
+
606
610
for I := 0 to Count - 1 do
607
611
ShowWindow(Items[I]._start.Handle, SW_SHOWNOACTIVATE);
608
612
end ;
@@ -652,6 +656,8 @@ procedure TTaskbars.Transparent;
652
656
accent: AccentPolicy;
653
657
data: WindowCompositionAttributeData;
654
658
begin
659
+ if FUpdating then Exit;
660
+
655
661
for I := 0 to Count - 1 do
656
662
begin
657
663
// if _notaskbar then Exit;
@@ -687,6 +693,8 @@ procedure TTaskbars.UpdateTaskbarInfo;
687
693
AMonitor: TMonitor;
688
694
ABData: TAppBarData;
689
695
begin
696
+ if FUpdating then Exit;
697
+
690
698
for n := 0 to Count - 1 do
691
699
begin
692
700
// if _notaskbar then Exit;
You can’t perform that action at this time.
0 commit comments