Quick and dirty attempt to immediately apply focus change in tests

Doesn't quite work yet
This commit is contained in:
Julia
2023-12-13 21:48:05 -05:00
parent cfc050e3fe
commit cd08d349a5
3 changed files with 22 additions and 5 deletions
@@ -739,6 +739,7 @@ impl ProjectPanel {
});
self.filename_editor.update(cx, |editor, cx| {
editor.clear(cx);
println!("focusing");
editor.focus(cx);
});
self.update_visible_entries(Some((worktree_id, NEW_ENTRY_ID)), cx);