Render panel in this test to make sure it can receive focus

This commit is contained in:
Julia committed 2023-12-14 17:11:00 -05:00
1 parent cd08d349a5
commit bbbdb9ff3e
4 files changed
+14 -9

No files matched your search

+1
View File
@@ -532,6 +532,7 @@ impl Workspace {
cx.notify()
})
.detach();
cx.on_blur_window(|this, cx| {
let focus_handle = this.focus_handle(cx);
cx.focus(&focus_handle);