mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 18:50:48 +00:00
ne more correction, this time it is really main not key that gets set.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25672 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
68684a5331
commit
c970b157e4
1 changed files with 2 additions and 2 deletions
|
@ -1016,9 +1016,9 @@ static NSSize scaledIconSizeForSize(NSSize imageSize)
|
||||||
{
|
{
|
||||||
NSWindow *win = [windows_list objectAtIndex: i];
|
NSWindow *win = [windows_list objectAtIndex: i];
|
||||||
|
|
||||||
if ([win canBecomeKeyWindow])
|
if ([win canBecomeMainWindow])
|
||||||
{
|
{
|
||||||
_key_window = win;
|
_main_window = win;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue