mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-17 05:09:55 +02:00
LCL-GTK2: Fix designer behavior when Top/Left/Width/Height is selected in Object Inspector. Issue #33426, patch from accorp.
git-svn-id: trunk@57604 -
This commit is contained in:
parent
9181c52089
commit
067144af2d
@ -2292,7 +2292,7 @@ begin
|
||||
or (FPropertyEditorHook = nil)
|
||||
or (FPropertyEditorHook.LookupRoot = FCurrentEditorLookupRoot));
|
||||
if Result and CheckFocus then begin
|
||||
FocusedControl:=FindControl(GetFocus);
|
||||
FocusedControl:=FindOwnerControl(GetFocus);
|
||||
if (FocusedControl<>nil) and (FocusedControl<>Self)
|
||||
and (not IsParentOf(FocusedControl)) then
|
||||
Result:=false;
|
||||
|
Loading…
Reference in New Issue
Block a user