Pressing refresh twice
Closed this issue · 1 comments
limelect commented
Pressing the refresh button twice gave "DosCommand still running"
so I added
DosCommand.Execute;
repeat
Application.ProcessMessages;
until FFinished;
DosCommand.Stop;<<<<<<<<<<<<<<<<<<<<
CleanPackageList;
corneliusdavid commented
my preferred method is to disable the possibility of refreshing in the first place...
actRefresh.Enabled := False;
try
// refresh code
finally
actRefresh.Enabled := True;
end;
I committed that change.