mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-03 18:01:29 +02:00
LCL, grids, fix editor not focused if it's visible and grid is being focused, from Éderson Cássio, issue #24194
git-svn-id: trunk@40780 -
This commit is contained in:
parent
49ae53840a
commit
d6a1f48258
@ -10,6 +10,7 @@ Antônio Galvão
|
||||
Bogusław Brandys
|
||||
Daniel Simões de Almeida
|
||||
Diogo Piçarra
|
||||
Éderson Cássio
|
||||
Flávio Etrusco
|
||||
Jörg Braun
|
||||
Juan Salvador Pérez García
|
||||
|
@ -8801,7 +8801,12 @@ begin
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
inherited SetFocus;
|
||||
|
||||
if (Editor <> nil) and (Editor.Visible) then
|
||||
Editor.SetFocus
|
||||
else
|
||||
inherited SetFocus;
|
||||
|
||||
{$IFDEF dbgGrid}
|
||||
DebugLnExit('TCustomGrid.SetFocus END');
|
||||
{$ENDIF}
|
||||
|
Loading…
Reference in New Issue
Block a user