Focus on the history tabs context menu when deploying (#61000)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons authored and GitHub committed 2026-07-14 21:06:27 +00:00
1 parent 0162e0ce7c
commit 1e9a452d5b
1 file changed
+3 -1
+3 -1
View File
@@ -7192,9 +7192,11 @@ impl GitPanel {
&mut self,
context_menu: Entity<ContextMenu>,
position: Point<Pixels>,
window: &Window,
window: &mut Window,
cx: &mut Context<Self>,
) {
window.focus(&context_menu.focus_handle(cx), cx);
let subscription = cx.subscribe_in(
&context_menu,
window,