mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 18:59:21 +02:00
LCL: DBLookupCombobox should not update if it's unbound, fixes autocompletion, issue #34298
This commit is contained in:
parent
ecfda1dffb
commit
71d8b00d81
@ -48,10 +48,8 @@ begin
|
|||||||
if IsUnbound then begin
|
if IsUnbound then begin
|
||||||
if FDetectedEvents and DBCBEVENT_CHANGE <> 0 then
|
if FDetectedEvents and DBCBEVENT_CHANGE <> 0 then
|
||||||
DoOnChange;
|
DoOnChange;
|
||||||
if DetectedEvents and DBCBEVENT_SELECT <>0 then begin
|
if DetectedEvents and DBCBEVENT_SELECT <>0 then
|
||||||
UpdateData(self);
|
|
||||||
DoOnSelect;
|
DoOnSelect;
|
||||||
end;
|
|
||||||
if DetectedEvents and DBCBEVENT_CLOSEUP <>0 then
|
if DetectedEvents and DBCBEVENT_CLOSEUP <>0 then
|
||||||
DoOnCloseUp;
|
DoOnCloseUp;
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user