We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c9cb12 commit 1820973Copy full SHA for 1820973
PBGitWindowController.h
@@ -25,8 +25,6 @@
25
IBOutlet NSTextField *statusField;
26
IBOutlet NSProgressIndicator *progressIndicator;
27
28
- PBViewController* viewController;
29
-
30
IBOutlet NSToolbarItem *terminalItem;
31
IBOutlet NSToolbarItem *finderItem;
32
}
PBGitWindowController.m
@@ -136,8 +136,8 @@ - (void)showErrorSheet:(NSError *)error
136
137
- (void)windowDidBecomeKey:(NSNotification *)notification
138
{
139
- if (self.viewController && [PBGitDefaults refreshAutomatically]) {
140
- [(PBViewController *)self.viewController refresh:nil];
+ if ([PBGitDefaults refreshAutomatically]) {
+ [contentController refresh:nil];
141
142
143
0 commit comments