mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-04-14 20:50:03 +02:00
Fixed removing or mark-sent of commands
This commit is contained in:
parent
36cb79dfb3
commit
90e966751d
@ -394,14 +394,14 @@ begin
|
||||
C:=TJSONObject.Create;
|
||||
Cmd.ToJSON(C);
|
||||
A.Add(C);
|
||||
L2.Add(C);
|
||||
L2.Add(CMD);
|
||||
end;
|
||||
end;
|
||||
SendJSONResponse(J,aResponse);
|
||||
// Remove sent from list
|
||||
for I:=0 to L2.Count-1 do
|
||||
begin
|
||||
Cmd:=TIDECommand(L[i]);
|
||||
Cmd:=TIDECommand(L2[i]);
|
||||
if Cmd.NeedsConfirmation then
|
||||
Cmd.Sent:=True
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user