mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +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
15f5fd6767
commit
b502d7bd31
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2010-04-05 Doug Simons <doug.simons@testplant.com>
|
||||
|
||||
* Source/NSDrawer.m: Fix problem with drawer window being shown
|
||||
prematurely.
|
||||
|
||||
2010-04-04 German Arias <german@xelalug.org>
|
||||
|
||||
* Panels/Spanish.lproj/GSPageLayout.gorm: Translations
|
||||
|
|
|
@ -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…
Reference in a new issue