mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 19:02:31 +02:00
LCL, hide editor on dataset change, issue #11925
git-svn-id: trunk@16175 -
This commit is contained in:
parent
c4633603ff
commit
c1a8c3d29c
@ -743,8 +743,12 @@ begin
|
||||
if aDataSet=nil then DebugLn('nil)')
|
||||
else DebugLn(aDataSet.Name,')');
|
||||
{$endif}
|
||||
if EditorMode then
|
||||
EditorMode := False;
|
||||
LayoutChanged;
|
||||
UpdateActive;
|
||||
if (dgAlwaysShowEditor in Options) then
|
||||
EditorMode := true;
|
||||
end;
|
||||
|
||||
procedure TCustomDBGrid.OnDataSetOpen(aDataSet: TDataSet);
|
||||
|
Loading…
Reference in New Issue
Block a user