Fix bug #769: Query columns don't clear on update

This commit is contained in:
Ansgar Becker
2008-09-28 22:41:08 +00:00
parent c87d75efae
commit bd3143baa3

View File

@@ -3922,7 +3922,7 @@ begin
begin
// Keep native order of columns
lboxQueryHelpers.Sorted := False;
for i := 0 to High(VTRowDataListColumns) do
if SelectedTable <> '' then for i := 0 to High(VTRowDataListColumns) do
begin
lboxQueryHelpers.Items.Add(VTRowDataListColumns[i].Captions[0]);
end;