mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 04:07:57 +02:00
cocoa: focus switch update, calling SETFOCUS prior to KILLFOCUS. Preventing endless loop of focus switch
git-svn-id: trunk@61300 -
This commit is contained in:
parent
b04174617e
commit
d884d16510
@ -1111,8 +1111,8 @@ begin
|
||||
|
||||
if not isCallbackForSameObject(respInitCb, cbnew) then
|
||||
begin
|
||||
if Assigned(respInitCb) then respInitCb.ResignFirstResponder;
|
||||
if Assigned(cbnew) then cbnew.BecomeFirstResponder;
|
||||
if Assigned(respInitCb) then respInitCb.ResignFirstResponder;
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user