Opkman: Show hourglass cursor on cleanup.

git-svn-id: trunk@55414 -
This commit is contained in:
balazs 2017-06-29 17:02:03 +00:00
parent f920626b08
commit cc8ab8124e

View File

@ -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;