mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 14:59:30 +02:00
LCL, grids, ignore WMKillFocus on destroying, patch by Anton, issue #27376
git-svn-id: trunk@48771 -
This commit is contained in:
parent
e4ca357f5d
commit
c4f943a994
@ -4577,9 +4577,9 @@ end;
|
||||
|
||||
procedure TCustomGrid.WMKillFocus(var message: TLMKillFocus);
|
||||
begin
|
||||
if csDestroying in ComponentState then
|
||||
exit;
|
||||
{$ifdef dbgGrid}
|
||||
if csDestroying in ComponentState then exit;
|
||||
|
||||
DbgOut('*** grid.WMKillFocus, FocusedWnd=%x WillFocus=',[Message.FocusedWnd]);
|
||||
if EditorMode and (Message.FocusedWnd = FEditor.Handle) then
|
||||
DebugLn('Editor')
|
||||
|
Loading…
Reference in New Issue
Block a user