Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 1 addition & 6 deletions src/ui/log_tab.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,13 +130,8 @@ impl<'a> LogTab<'a> {
})
}

/// Update change details panel if the selection has changed
/// Update change details panel
fn sync_head_output(&mut self, commander: &mut Commander) {
if self.head == self.log_panel.head {
// log panel and head panel agree on head
return;
}
// Update head panel to show new head
self.head = self.log_panel.head.clone();
self.refresh_head_output(commander);
}
Expand Down
Loading