mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 13:29:37 +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);
|
TCocoaWSWinControl.ShowHide(AWinControl);
|
||||||
|
|
||||||
// ShowHide() also actives (sets focus to) the window
|
// 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;
|
w.makeKeyWindow;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user