Fixed automatic refresh (broken by merge).

This commit is contained in:
Aron Cedercrantz
2011-01-19 13:50:01 +01:00
parent 3c9cb12e84
commit 1820973e70
2 changed files with 2 additions and 4 deletions
-2
View File
@@ -25,8 +25,6 @@
IBOutlet NSTextField *statusField;
IBOutlet NSProgressIndicator *progressIndicator;
PBViewController* viewController;
IBOutlet NSToolbarItem *terminalItem;
IBOutlet NSToolbarItem *finderItem;
}
+2 -2
View File
@@ -136,8 +136,8 @@
- (void)windowDidBecomeKey:(NSNotification *)notification
{
if (self.viewController && [PBGitDefaults refreshAutomatically]) {
[(PBViewController *)self.viewController refresh:nil];
if ([PBGitDefaults refreshAutomatically]) {
[contentController refresh:nil];
}
}