mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 01:59:08 +02:00
LCL, make sure that dbgrid is focused after editor is hidden, fix insert problem described in issue #26929
git-svn-id: trunk@46680 -
This commit is contained in:
parent
f1eae55f15
commit
7b02f9eb70
@ -838,8 +838,10 @@ begin
|
|||||||
[ClassName,name,dbgsname(ADataset)]);
|
[ClassName,name,dbgsname(ADataset)]);
|
||||||
{$endif}
|
{$endif}
|
||||||
if not (gsStartEditing in FGridStatus) then begin
|
if not (gsStartEditing in FGridStatus) then begin
|
||||||
|
GridFlags := GridFlags + [gfEditingDone];
|
||||||
if EditorMode then
|
if EditorMode then
|
||||||
EditorMode := False;
|
EditorMode := False;
|
||||||
|
GridFlags := GridFlags - [gfEditingDone];
|
||||||
LayoutChanged;
|
LayoutChanged;
|
||||||
end;
|
end;
|
||||||
UpdateActive;
|
UpdateActive;
|
||||||
|
Loading…
Reference in New Issue
Block a user