assistant: Fix toggling the model selector via keybind (#16319)
This PR restores the ability to toggle the model selector via a keybind after it was lost in #15693. Release Notes: - Restored the ability to toggle the model selector in the Assistant via a keybinding (Preview only).
This commit is contained in:
parent
776442f3ae
commit
f65b2b9a2d
2 changed files with 52 additions and 46 deletions
|
@ -295,5 +295,6 @@ impl<T: PopoverTrigger> RenderOnce for ModelSelector<T> {
|
|||
.menu(move |_cx| Some(picker_view.clone()))
|
||||
.trigger(self.trigger)
|
||||
.attach(gpui::AnchorCorner::BottomLeft)
|
||||
.when_some(self.handle, |menu, handle| menu.with_handle(handle))
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue