We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 23d5c01 commit c59d68bCopy full SHA for c59d68b
PBGitSidebarController.m
@@ -69,6 +69,21 @@ - (void)updateSelection
69
[sourceView selectRow:index byExtendingSelection:NO];
70
}
71
72
+#pragma mark NSOutlineView delegate methods
73
+
74
+- (void)outlineViewSelectionDidChange:(NSNotification *)notification
75
+{
76
+ NSInteger index = [sourceView selectedRow];
77
+ PBSourceViewItem *item = [sourceView itemAtRow:index];
78
79
+ if ([item revSpecifier]) {
80
+ [[repository windowController] showHistoryView:self];
81
+ repository.currentBranch = [item revSpecifier];
82
+ return;
83
+ }
84
85
+ /* Handle Remotes etc */
86
+}
87
88
#pragma mark NSOutlineView delegate methods
89
- (BOOL)outlineView:(NSOutlineView *)outlineView isGroupItem:(id)item
0 commit comments