mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-04 14:37:26 +01:00
lcl: change active control when a child form is focused too
git-svn-id: trunk@30057 -
This commit is contained in:
parent
32fe9f12d1
commit
a84af3e7a0
@ -1289,7 +1289,7 @@ begin
|
||||
NewActiveControl := nil;
|
||||
NewFocus := 0;
|
||||
|
||||
if (ActiveControl = nil) and (not (csDesigning in ComponentState)) and (Parent=nil) then
|
||||
if (ActiveControl = nil) and not (csDesigning in ComponentState) then
|
||||
begin
|
||||
// automatically choose a control to focus
|
||||
{$IFDEF VerboseFocus}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user