mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:38:25 +02:00
Cocoa & Db: enable dbedit/dbmemo to input when FDataLink.Field=nil, patch by Ugo Boccardi
This commit is contained in:
parent
fdbb1e6aa3
commit
46a014d098
@ -137,7 +137,7 @@ begin
|
||||
VK_OEM_1..VK_OEM_3,
|
||||
VK_OEM_4..VK_OEM_8:
|
||||
begin
|
||||
if not FDatalink.Edit then
|
||||
if (FDataLink.Field <> nil) and (not FDatalink.Edit) then
|
||||
Key:= 0;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
@ -165,7 +165,7 @@ begin
|
||||
VK_OEM_1..VK_OEM_3,
|
||||
VK_OEM_4..VK_OEM_8:
|
||||
begin
|
||||
if not FDatalink.Edit then
|
||||
if (FDataLink.Field <> nil) and (not FDatalink.Edit) then
|
||||
Key:= 0;
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user