File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
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
+
13
18
@implementation PBSubmoduleController
19
+ @synthesize submodules;
14
20
15
21
- (id ) initWithRepository : (PBGitRepository *) repo {
16
22
if ((self = [super init ])){
@@ -50,7 +56,7 @@ - (void) reload {
50
56
}
51
57
}
52
58
53
- submodules = loadedSubmodules;
59
+ self. submodules = loadedSubmodules;
54
60
});
55
61
}
56
62
@@ -114,7 +120,7 @@ - (BOOL) validateMenuItem:(NSMenuItem *)menuItem {
114
120
shouldBeEnabled = NO ;
115
121
// TODO implementation missing
116
122
} else {
117
- shouldBeEnabled = [submodules count ] > 0 ;
123
+ shouldBeEnabled = [self . submodules count ] > 0 ;
118
124
}
119
125
return shouldBeEnabled;
120
126
}
You can’t perform that action at this time.
0 commit comments