impl Focusable for Button
This commit is contained in:
parent
6e540a58fa
commit
e56672e542
107 changed files with 524 additions and 417 deletions
|
@ -55,7 +55,7 @@ impl Render for ActiveBufferLanguage {
|
|||
};
|
||||
|
||||
el.child(
|
||||
Button::new("change-language", active_language_text)
|
||||
Button::new("change-language", active_language_text, cx)
|
||||
.label_size(LabelSize::Small)
|
||||
.on_click(cx.listener(|this, _, window, cx| {
|
||||
if let Some(workspace) = this.workspace.upgrade() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue