mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-08 07:35:01 +03:00
Guard against tab_bar_context_menu
We don't want to have the tab_bar_context_menu as the active item of the pane where the split started from Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
parent
8f61134e7e
commit
2b0592da21
@ -1527,7 +1527,7 @@ impl View for Pane {
|
||||
}
|
||||
|
||||
cx.focus(active_item);
|
||||
} else {
|
||||
} else if focused != self.tab_bar_context_menu {
|
||||
self.last_focused_view_by_item
|
||||
.insert(active_item.id(), focused.downgrade());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user