Quick and dirty attempt to immediately apply focus change in tests
Doesn't quite work yet
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user