diff options
-rw-r--r-- | Userland/Libraries/LibGUI/AbstractButton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibGUI/AbstractButton.cpp b/Userland/Libraries/LibGUI/AbstractButton.cpp index 52a36442e0..72fb75010d 100644 --- a/Userland/Libraries/LibGUI/AbstractButton.cpp +++ b/Userland/Libraries/LibGUI/AbstractButton.cpp @@ -213,7 +213,7 @@ void AbstractButton::keydown_event(KeyEvent& event) new_checked_index = this_index == 0 ? exclusive_siblings.size() - 1 : this_index - 1; else new_checked_index = this_index == exclusive_siblings.size() - 1 ? 0 : this_index + 1; - exclusive_siblings[new_checked_index].set_checked(true); + exclusive_siblings[new_checked_index].click(); return; } Widget::keydown_event(event); |