summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/menu/menu_controller.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/controls/menu/menu_controller.cc')
-rw-r--r--ui/views/controls/menu/menu_controller.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/views/controls/menu/menu_controller.cc b/ui/views/controls/menu/menu_controller.cc
index 062c5f1..54d3410 100644
--- a/ui/views/controls/menu/menu_controller.cc
+++ b/ui/views/controls/menu/menu_controller.cc
@@ -2078,7 +2078,7 @@ bool MenuController::SelectByChar(base::char16 character) {
return AcceptOrSelect(item, details);
if (is_combobox_) {
- item->GetSubmenu()->GetTextInputClient()->InsertChar(character, 0);
+ item->GetSubmenu()->GetPrefixSelector()->InsertChar(character, 0);
} else {
// If no mnemonics found, look at first character of titles.
details = FindChildForMnemonic(item, key, &TitleMatchesMnemonic);