mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Fix bug #1850358 Table name autocomplete shows "dummy node"
This commit is contained in:
@@ -3275,12 +3275,16 @@ begin
|
||||
tn := DBTree.Items[i];
|
||||
if tn.Text = SynCompletionProposal1.PreviousToken then
|
||||
begin
|
||||
// Ensure the db-node has its tables fetched
|
||||
PopulateTreeTableList(tn);
|
||||
child := tn.getFirstChild;
|
||||
for j:=0 to tn.Count-1 do
|
||||
begin
|
||||
addTable(child.Text);
|
||||
child := tn.getNextChild(child);
|
||||
end;
|
||||
// We have found the matching node, no need to look further
|
||||
Break;
|
||||
end;
|
||||
end;
|
||||
Screen.Cursor := crDefault;
|
||||
|
||||
Reference in New Issue
Block a user