mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 15:20:38 +00:00
Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@16409 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
77261b37c3
commit
b2c12040e5
2 changed files with 6 additions and 1 deletions
|
@ -406,7 +406,6 @@ static NSString *disabledName = @".GNUstepDisabled";
|
|||
id del = [NSApp delegate];
|
||||
BOOL result = NO;
|
||||
|
||||
[NSApp activateIgnoringOtherApps: YES];
|
||||
if ([del respondsToSelector: _cmd])
|
||||
{
|
||||
result = [del application: theApp openFile: file];
|
||||
|
@ -414,6 +413,7 @@ static NSString *disabledName = @".GNUstepDisabled";
|
|||
else if ([[NSDocumentController sharedDocumentController]
|
||||
openDocumentWithContentsOfFile: file display: YES] != nil)
|
||||
{
|
||||
[NSApp activateIgnoringOtherApps: YES];
|
||||
result = YES;
|
||||
}
|
||||
return result;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue