mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Bugfix: Index not refreshing on manual refresh
The window controller should be calling the content controller's refresh and not the repository's.
This commit is contained in:
@@ -153,7 +153,7 @@
|
||||
|
||||
- (IBAction) refresh:(id)sender
|
||||
{
|
||||
[repository forceUpdateRevisions];
|
||||
[contentController refresh:self];
|
||||
}
|
||||
|
||||
- (void) updateStatus
|
||||
|
||||
@@ -26,5 +26,6 @@
|
||||
- (void) removeView;
|
||||
- (void) updateView;
|
||||
- (NSResponder *)firstResponder;
|
||||
- (IBAction) refresh:(id)sender;
|
||||
|
||||
@end
|
||||
|
||||
@@ -43,6 +43,10 @@
|
||||
{
|
||||
}
|
||||
|
||||
- (IBAction) refresh: sender
|
||||
{
|
||||
}
|
||||
|
||||
- (NSResponder *)firstResponder;
|
||||
{
|
||||
return nil;
|
||||
|
||||
Reference in New Issue
Block a user