mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:21:04 +00:00
push modal window to top later in process
This commit is contained in:
parent
8760810340
commit
dd67057784
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue