mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
HistoryView: Always show the correct current branch
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
[historyController addObserver:self forKeyPath:@"repository.branches" options:0 context:@"branchChange"];
|
||||
[historyController addObserver:self forKeyPath:@"repository.currentBranch" options:0 context:@"currentBranchChange"];
|
||||
[self updateBranchMenu];
|
||||
[self selectCurrentBranch];
|
||||
}
|
||||
|
||||
- (void) observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(id)context
|
||||
|
||||
Reference in New Issue
Block a user