Emit Dirtied event when a clean buffer's file is deleted

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra
2021-05-11 16:32:52 +02:00
co-authored by Nathan Sobo
parent 02bd9c8420
commit d8eed53f13
2 changed files with 54 additions and 19 deletions
+1 -1
View File
@@ -1620,7 +1620,7 @@ impl<'a, T: Entity> ModelContext<'a, T> {
});
}
fn handle(&self) -> ModelHandle<T> {
pub fn handle(&self) -> ModelHandle<T> {
ModelHandle::new(self.model_id, &self.app.ctx.ref_counts)
}