mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Bugfix: Don't try to access element -1 of a collection.
Please enable DEBUGGING in your builds so you can catch these sort of things before release time.
This commit is contained in:
@@ -4329,7 +4329,7 @@ begin
|
||||
begin
|
||||
Text := (src as TTreeView).Selected.Text;
|
||||
end
|
||||
else if src = lboxQueryHelpers then
|
||||
else if (src = lboxQueryHelpers) and ((src as TListBox).ItemIndex > -1) then
|
||||
begin
|
||||
Text := (src as TListBox).Items[(src as TListBox).ItemIndex];
|
||||
if tabsetQueryHelpers.TabIndex = 3 then
|
||||
|
||||
Reference in New Issue
Block a user