mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-18 16:41:35 +00:00
Fixed a bug which prevented the app to load a project when being told via
application:openfile: git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@12621 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4682c6aa76
commit
5d42b6bb67
1 changed files with 2 additions and 1 deletions
|
@ -183,7 +183,8 @@
|
|||
|
||||
- (BOOL)application:(NSApplication *)application openFile:(NSString *)fileName
|
||||
{
|
||||
if ([[fileName lastPathComponent] isEqualToString:@"PC.project"] == NO) {
|
||||
if ([[fileName pathExtension] isEqualToString:@"pcproj"] == NO)
|
||||
{
|
||||
return NO;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue