diff --git a/Userland/Applications/Calculator/CalculatorWidget.cpp b/Userland/Applications/Calculator/CalculatorWidget.cpp index 0343c208861..a66099379d9 100644 --- a/Userland/Applications/Calculator/CalculatorWidget.cpp +++ b/Userland/Applications/Calculator/CalculatorWidget.cpp @@ -152,7 +152,7 @@ void CalculatorWidget::keydown_event(GUI::KeyEvent& event) m_equals_button->set_focus(true); m_equals_button->set_focus(false); - if (event.key() == KeyCode::Key_Return) { + if (event.key() == KeyCode::Key_Return || event.key() == KeyCode::Key_Equal) { m_keypad.set_value(m_calculator.finish_operation(m_keypad.value())); } else if (event.code_point() >= '0' && event.code_point() <= '9') { m_keypad.type_digit(event.code_point() - '0');