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 10
10
#import " PBGitRepository.h"
11
11
#import " PBOpenDocumentCommand.h"
12
12
13
- @interface PBSubmoduleController ()
14
- @property (nonatomic , retain ) NSArray *submodules;
15
- @end
16
-
17
-
18
13
@implementation PBSubmoduleController
19
- @synthesize submodules;
20
14
21
15
- (id ) initWithRepository : (PBGitRepository *) repo {
22
16
if ((self = [super init ])){
@@ -56,7 +50,7 @@ - (void) reload {
56
50
}
57
51
}
58
52
59
- self. submodules = loadedSubmodules;
53
+ submodules = loadedSubmodules;
60
54
});
61
55
}
62
56
@@ -120,7 +114,7 @@ - (BOOL) validateMenuItem:(NSMenuItem *)menuItem {
120
114
shouldBeEnabled = NO ;
121
115
// TODO implementation missing
122
116
} else {
123
- shouldBeEnabled = [self . submodules count ] > 0 ;
117
+ shouldBeEnabled = [submodules count ] > 0 ;
124
118
}
125
119
return shouldBeEnabled;
126
120
}
You can’t perform that action at this time.
0 commit comments