diff --git a/src/ui/log_tab.rs b/src/ui/log_tab.rs index 857800a..02457be 100644 --- a/src/ui/log_tab.rs +++ b/src/ui/log_tab.rs @@ -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); }