mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 01:39:42 +02:00
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:
parent
6739277749
commit
5301fa49cb
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user