mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 12:29:30 +02:00
TodoList: avoid flickering while updating TODO list by adding BeginUpdate/EndUpdate. Patch by Vladimir Zhirov, bug #17125.
git-svn-id: trunk@27021 -
This commit is contained in:
parent
6688cc9ce2
commit
9fe6485839
@ -602,6 +602,7 @@ begin
|
||||
|
||||
Screen.Cursor:=crHourGlass;
|
||||
Owners:=nil;
|
||||
lvTodo.BeginUpdate;
|
||||
try
|
||||
fBuild:=True;
|
||||
CodeToolBoss.ActivateWriteLock;
|
||||
@ -678,6 +679,7 @@ begin
|
||||
Node:=fScannedFiles.FindSuccessor(Node);
|
||||
end;
|
||||
finally
|
||||
lvTodo.EndUpdate;
|
||||
CodeToolBoss.DeactivateWriteLock;
|
||||
Owners.Free;
|
||||
Screen.Cursor:=crDefault;
|
||||
|
Loading…
Reference in New Issue
Block a user