Proper handling of button focus
This commit is contained in:
parent
8bbd2e7f95
commit
c3934d9e56
3 changed files with 35 additions and 0 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue