Remove more references to 'model' in GPUI APIs (#23693)
Release Notes: - N/A
This commit is contained in:
parent
a6b1514246
commit
9cae96f82f
115 changed files with 309 additions and 311 deletions
|
@ -58,7 +58,7 @@ impl ScopeSelector {
|
|||
cx: &mut Context<Self>,
|
||||
) -> Self {
|
||||
let delegate =
|
||||
ScopeSelectorDelegate::new(workspace, cx.model().downgrade(), language_registry);
|
||||
ScopeSelectorDelegate::new(workspace, cx.entity().downgrade(), language_registry);
|
||||
|
||||
let picker = cx.new(|cx| Picker::uniform_list(delegate, window, cx));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue