cocoa: ShowHide only activates non hint window. Hint window are brought to front, but not getting focus. bug #36516

git-svn-id: trunk@62490 -
This commit is contained in:
dmitry 2020-01-04 17:59:08 +00:00
parent 6739277749
commit 5301fa49cb

View File

@ -1126,7 +1126,7 @@ begin
TCocoaWSWinControl.ShowHide(AWinControl);
// ShowHide() also actives (sets focus to) the window
if lShow and Assigned(w) then
if lShow and Assigned(w) and not (w.isKindOfClass(NSPanel)) then
w.makeKeyWindow;
end;