mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Keep window-title up-to-date in commit view
This issues a simple reloadRefs when refreshing the commit-view, keeping the current branchname up-to-date here as well. Signed-off-by: Johannes Gilger <heipei@hackvalue.de>
This commit is contained in:
committed by
Pieter de Bie
parent
a5cfbe1b42
commit
0823ff859d
@@ -168,6 +168,9 @@
|
||||
[nc addObserver:self selector:@selector(readCachedFiles:) name:NSFileHandleReadToEndOfFileCompletionNotification object:handle];
|
||||
self.busy++;
|
||||
[handle readToEndOfFileInBackgroundAndNotify];
|
||||
|
||||
// Reload refs (in case HEAD changed)
|
||||
[repository reloadRefs];
|
||||
}
|
||||
|
||||
- (void) updateView
|
||||
|
||||
Reference in New Issue
Block a user