LCL: DBLookupCombobox should not update if it's unbound, fixes autocompletion, issue #34298

This commit is contained in:
Jesus Reyes A 2021-08-01 18:40:53 -05:00
parent ecfda1dffb
commit 71d8b00d81

View File

@ -48,10 +48,8 @@ begin
if IsUnbound then begin
if FDetectedEvents and DBCBEVENT_CHANGE <> 0 then
DoOnChange;
if DetectedEvents and DBCBEVENT_SELECT <>0 then begin
UpdateData(self);
if DetectedEvents and DBCBEVENT_SELECT <>0 then
DoOnSelect;
end;
if DetectedEvents and DBCBEVENT_CLOSEUP <>0 then
DoOnCloseUp;
end