mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +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
ba817248fe
commit
b06abb1fc1
1 changed files with 2 additions and 2 deletions
|
@ -1016,9 +1016,9 @@ static NSSize scaledIconSizeForSize(NSSize imageSize)
|
|||
{
|
||||
NSWindow *win = [windows_list objectAtIndex: i];
|
||||
|
||||
if ([win canBecomeKeyWindow])
|
||||
if ([win canBecomeMainWindow])
|
||||
{
|
||||
_key_window = win;
|
||||
_main_window = win;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue