lcl: update lookup unconditionally in InitializeWnd

git-svn-id: trunk@32921 -
This commit is contained in:
blikblum 2011-10-16 12:08:15 +00:00
parent 43e41c3974
commit 36cdc25ab4
2 changed files with 2 additions and 4 deletions

View File

@ -59,8 +59,7 @@ end;
procedure TDBLookupComboBox.InitializeWnd;
begin
inherited InitializeWnd;
if FDataLink.Active then
UpdateLookup;
UpdateLookup;
end;
function TDBLookupComboBox.GetKeyField: string;

View File

@ -62,8 +62,7 @@ end;
procedure TDBLookupListBox.InitializeWnd;
begin
inherited InitializeWnd;
if FDataLink.Active then
UpdateLookup;
UpdateLookup;
end;
procedure TDBLookupListBox.KeyDown(var Key: Word; Shift: TShiftState);