mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 14:40:25 +02:00
IDE: codebrowser: showing hourglass cursor during treeview update
git-svn-id: trunk@10824 -
This commit is contained in:
parent
a46e0d0b54
commit
3dd033044f
@ -1920,6 +1920,7 @@ begin
|
||||
|
||||
DebugLn(['TCodeBrowserView.UpdateTreeView ShowPackages=',ShowPackages,' ShowUnits=',ShowUnits,' ShowIdentifiers=',ShowIdentifiers]);
|
||||
|
||||
BrowseTreeView.Cursor:=crHourGlass;
|
||||
BrowseTreeView.BeginUpdate;
|
||||
CodeToolBoss.ActivateWriteLock;
|
||||
try
|
||||
@ -1933,6 +1934,7 @@ begin
|
||||
finally
|
||||
CodeToolBoss.DeactivateWriteLock;
|
||||
BrowseTreeView.EndUpdate;
|
||||
BrowseTreeView.Cursor:=crDefault;
|
||||
end;
|
||||
VisiblePackages:=NewPackageCount;
|
||||
VisibleUnits:=NewUnitCount;
|
||||
|
Loading…
Reference in New Issue
Block a user