mirror of
https://github.com/gitui-org/gitui
synced 2026-05-24 09:28:21 +00:00
fix diff staying blank
This commit is contained in:
parent
ef4d3f7b56
commit
9ac915212a
2 changed files with 2 additions and 1 deletions
|
|
@ -439,7 +439,7 @@ impl App {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
self.update();
|
self.update_diff();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -39,6 +39,7 @@ impl DiffComponent {
|
||||||
pub fn clear(&mut self) {
|
pub fn clear(&mut self) {
|
||||||
self.current.0.clear();
|
self.current.0.clear();
|
||||||
self.diff = Diff::default();
|
self.diff = Diff::default();
|
||||||
|
self.current_hash = 0;
|
||||||
}
|
}
|
||||||
///
|
///
|
||||||
pub fn update(
|
pub fn update(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue