mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Fixed automatic refresh (broken by merge).
This commit is contained in:
@@ -25,8 +25,6 @@
|
||||
IBOutlet NSTextField *statusField;
|
||||
IBOutlet NSProgressIndicator *progressIndicator;
|
||||
|
||||
PBViewController* viewController;
|
||||
|
||||
IBOutlet NSToolbarItem *terminalItem;
|
||||
IBOutlet NSToolbarItem *finderItem;
|
||||
}
|
||||
|
||||
@@ -136,8 +136,8 @@
|
||||
|
||||
- (void)windowDidBecomeKey:(NSNotification *)notification
|
||||
{
|
||||
if (self.viewController && [PBGitDefaults refreshAutomatically]) {
|
||||
[(PBViewController *)self.viewController refresh:nil];
|
||||
if ([PBGitDefaults refreshAutomatically]) {
|
||||
[contentController refresh:nil];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user