mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-09 06:52:43 +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
|
begin
|
||||||
if MessageDlgEx(rsMainFrm_rsRepositoryCleanup0, mtInformation, [mbYes, mbNo], Self) = mrYes then
|
if MessageDlgEx(rsMainFrm_rsRepositoryCleanup0, mtInformation, [mbYes, mbNo], Self) = mrYes then
|
||||||
begin
|
begin
|
||||||
Cnt := SerializablePackages.Cleanup;
|
Screen.Cursor := crHourGlass;
|
||||||
|
try
|
||||||
|
Cnt := SerializablePackages.Cleanup;
|
||||||
|
finally
|
||||||
|
Screen.Cursor := crDefault;
|
||||||
|
end;
|
||||||
MessageDlgEx(Format(rsMainFrm_rsRepositoryCleanup1, [IntToStr(Cnt)]),
|
MessageDlgEx(Format(rsMainFrm_rsRepositoryCleanup1, [IntToStr(Cnt)]),
|
||||||
mtInformation, [mbOk], Self);
|
mtInformation, [mbOk], Self);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user