mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 18:40:38 +00:00
fix problem with drawer window being shown prematurely
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30086 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c4f8611a87
commit
a6b0dc31cd
2 changed files with 6 additions and 1 deletions
|
@ -390,7 +390,7 @@ static NSNotificationCenter *nc = nil;
|
|||
NSRect frame = [self frameFromParentWindowFrameInState:[_drawer state]];
|
||||
[self setFrame: frame display: YES];
|
||||
}
|
||||
if ([_parentWindow isKeyWindow]) // do our best to maintain proper window ordering
|
||||
if ([self isVisible] && [_parentWindow isKeyWindow]) // do our best to maintain proper window ordering
|
||||
{
|
||||
[super orderFrontRegardless];
|
||||
[_parentWindow orderFront:self];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue