Remove reference to pane from a toolbar.
Co-authored-by: Kyle <kyle@zed.dev>
This commit is contained in:
parent
7d83d15bf3
commit
8831e03eba
6 changed files with 5 additions and 76 deletions
|
@ -158,7 +158,7 @@ impl AssistantPanel {
|
|||
});
|
||||
|
||||
let toolbar = cx.add_view(|cx| {
|
||||
let mut toolbar = Toolbar::new(None);
|
||||
let mut toolbar = Toolbar::new();
|
||||
toolbar.set_can_navigate(false, cx);
|
||||
toolbar.add_item(cx.add_view(|cx| BufferSearchBar::new(cx)), cx);
|
||||
toolbar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue