IDE: Prevent a list index out of bounds error in Messages window. Issue #40798.

(cherry picked from commit cb087dd6e5)
This commit is contained in:
Juha 2024-03-04 15:43:59 +02:00 committed by Maxim Ganetsky
parent 1b1ecefa7b
commit 9dbba93a40

View File

@ -1461,6 +1461,7 @@ end;
procedure TMessagesCtrl.OnFilterChanged(Sender: TObject);
begin
FSelectedLines.Clear;
IdleConnected:=true;
end;