Make a document the active window if it already exists

This commit is contained in:
Pieter de Bie
2009-01-25 15:14:57 +00:00
parent cc6a91579e
commit 2cb0a37af5
+3 -1
View File
@@ -37,10 +37,12 @@
if (!document) {
if (!(document = [[PBGitRepository alloc] initWithURL:url]))
return NO;
return nil;
[self addDocument:document];
}
else
[document showWindows];
return document;
}