| Index: views/controls/button/custom_button.cc
|
| diff --git a/views/controls/button/custom_button.cc b/views/controls/button/custom_button.cc
|
| index e87bae92a646d082c0b21eed6f739318f0016d42..04ff856c348ff3f56ac34d516086a30602b1bbe9 100644
|
| --- a/views/controls/button/custom_button.cc
|
| +++ b/views/controls/button/custom_button.cc
|
| @@ -197,6 +197,8 @@ bool CustomButton::OnKeyPressed(const KeyEvent& e) {
|
| } else if (e.GetKeyCode() == base::VKEY_RETURN) {
|
| SetState(BS_NORMAL);
|
| NotifyClick(e);
|
| + } else {
|
| + return false;
|
| }
|
| return true;
|
| }
|
|
|