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:
dmitry 2019-05-29 13:42:57 +00:00
parent b04174617e
commit d884d16510

View File

@ -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;