Proper handling of button focus

This commit is contained in:
Jeremy Soller 2024-02-29 15:38:03 -07:00
parent 8bbd2e7f95
commit c3934d9e56
No known key found for this signature in database
GPG key ID: D02FD439211AF56F
3 changed files with 35 additions and 0 deletions

View file

@ -1051,6 +1051,9 @@ impl Application for App {
self.rescan_tab(entity, tab_path),
]));
}
tab::Command::FocusButton(id) => {
commands.push(widget::button::focus(id));
}
tab::Command::FocusTextInput(id) => {
commands.push(widget::text_input::focus(id));
}