File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1010#import " PBGitRepository.h"
1111#import " PBOpenDocumentCommand.h"
1212
13- @interface PBSubmoduleController ()
14- @property (nonatomic , retain ) NSArray *submodules;
15- @end
16-
17-
1813@implementation PBSubmoduleController
19- @synthesize submodules;
2014
2115- (id ) initWithRepository : (PBGitRepository *) repo {
2216 if ((self = [super init ])){
@@ -56,7 +50,7 @@ - (void) reload {
5650 }
5751 }
5852
59- self. submodules = loadedSubmodules;
53+ submodules = loadedSubmodules;
6054 });
6155}
6256
@@ -120,7 +114,7 @@ - (BOOL) validateMenuItem:(NSMenuItem *)menuItem {
120114 shouldBeEnabled = NO ;
121115 // TODO implementation missing
122116 } else {
123- shouldBeEnabled = [self . submodules count ] > 0 ;
117+ shouldBeEnabled = [submodules count ] > 0 ;
124118 }
125119 return shouldBeEnabled;
126120}
You can’t perform that action at this time.
0 commit comments