Merge branch 'master' of github.com:gnustep/libs-gui into NSTreeController_branch2

This commit is contained in:
Gregory John Casamento 2024-08-09 14:27:23 -04:00
commit bb2c12d74a

View file

@ -1677,7 +1677,7 @@ static BOOL _isAutolaunchChecked = NO;
[theWindow center];
[theWindow setLevel: NSModalPanelWindowLevel];
}
[theWindow orderFrontRegardless];
if ([self isActive] == YES)
{
if ([theWindow canBecomeKeyWindow] == YES)
@ -1689,6 +1689,7 @@ static BOOL _isAutolaunchChecked = NO;
[theWindow makeMainWindow];
}
}
[theWindow orderFrontRegardless];
return theSession;
}