mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-08 18:32:41 +02:00
Opkman: Show hourglass cursor on cleanup.
git-svn-id: trunk@55414 -
This commit is contained in:
parent
f920626b08
commit
cc8ab8124e
@ -946,7 +946,12 @@ var
|
||||
begin
|
||||
if MessageDlgEx(rsMainFrm_rsRepositoryCleanup0, mtInformation, [mbYes, mbNo], Self) = mrYes then
|
||||
begin
|
||||
Cnt := SerializablePackages.Cleanup;
|
||||
Screen.Cursor := crHourGlass;
|
||||
try
|
||||
Cnt := SerializablePackages.Cleanup;
|
||||
finally
|
||||
Screen.Cursor := crDefault;
|
||||
end;
|
||||
MessageDlgEx(Format(rsMainFrm_rsRepositoryCleanup1, [IntToStr(Cnt)]),
|
||||
mtInformation, [mbOk], Self);
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user