fix diff staying blank

This commit is contained in:
Stephan Dilly 2020-04-03 22:16:31 +02:00
parent ef4d3f7b56
commit 9ac915212a
2 changed files with 2 additions and 1 deletions

View file

@ -439,7 +439,7 @@ impl App {
}
};
self.update();
self.update_diff();
}
}

View file

@ -39,6 +39,7 @@ impl DiffComponent {
pub fn clear(&mut self) {
self.current.0.clear();
self.diff = Diff::default();
self.current_hash = 0;
}
///
pub fn update(