mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-14 01:56:36 +08:00
Fix crash in SynCompletionProposalChange, happening when scrolling very fast to the top of the list
This commit is contained in:
@ -6695,7 +6695,8 @@ var
|
||||
Proposal: TSynCompletionProposal;
|
||||
begin
|
||||
Proposal := Sender as TSynCompletionProposal;
|
||||
Proposal.Title := Proposal.InsertItem(AIndex);
|
||||
if (AIndex >= 0) and (AIndex < Proposal.ItemList.Count) then
|
||||
Proposal.Title := Proposal.InsertItem(AIndex);
|
||||
end;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user