diff --git a/PBGitWindowController.m b/PBGitWindowController.m index bfbf150..55b34b4 100644 --- a/PBGitWindowController.m +++ b/PBGitWindowController.m @@ -153,7 +153,7 @@ - (IBAction) refresh:(id)sender { - [repository forceUpdateRevisions]; + [contentController refresh:self]; } - (void) updateStatus diff --git a/PBViewController.h b/PBViewController.h index 56dfbf1..5992196 100644 --- a/PBViewController.h +++ b/PBViewController.h @@ -26,5 +26,6 @@ - (void) removeView; - (void) updateView; - (NSResponder *)firstResponder; +- (IBAction) refresh:(id)sender; @end diff --git a/PBViewController.m b/PBViewController.m index 901bbb3..6f228d4 100644 --- a/PBViewController.m +++ b/PBViewController.m @@ -43,6 +43,10 @@ { } +- (IBAction) refresh: sender +{ +} + - (NSResponder *)firstResponder; { return nil;