mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-12-16 01:48:56 +08:00
Return true when an event a RadioBox is state change due to pressing Return or space. Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:
@@ -103,8 +103,8 @@ class RadioboxBase : public ComponentBase {
|
||||
|
||||
if (event == Event::Character(' ') || event == Event::Return) {
|
||||
*selected_ = hovered_;
|
||||
//*selected_ = focused_entry();
|
||||
option_->on_change();
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user