mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
Merge pull request #282 from williameveretteggplant/modal_linux_fix
This commit is contained in:
commit
ac56a0fe29
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