diff options
author | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 20:17:11 +0000 |
---|---|---|
committer | jcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-03 20:17:11 +0000 |
commit | 7e54bba4f0e3bb17d205b551ab6799020fc9c110 (patch) | |
tree | dc55bd87d93dbeaee669dd6e925c2fd6d7a5e5c7 /views/controls/combobox/combobox.cc | |
parent | 04b03a0dd8a804c79c1e7fecf73a8d43082a3f3e (diff) | |
download | chromium_src-7e54bba4f0e3bb17d205b551ab6799020fc9c110.zip chromium_src-7e54bba4f0e3bb17d205b551ab6799020fc9c110.tar.gz chromium_src-7e54bba4f0e3bb17d205b551ab6799020fc9c110.tar.bz2 |
Recent refactoring of the combobox had broken focus.
BUG=13256
TEST=Open the option dialog. Move the focus around by pressing tab, make sure the combobox gets focused correctly. When the focus is on the combobox, activate another (non Chromium) window, then come back to the option dialog, the focus should still be on the combobox.
Review URL: http://codereview.chromium.org/118175
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17526 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/combobox/combobox.cc')
-rw-r--r-- | views/controls/combobox/combobox.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/views/controls/combobox/combobox.cc b/views/controls/combobox/combobox.cc index 3f90a20..f4ae17b 100644 --- a/views/controls/combobox/combobox.cc +++ b/views/controls/combobox/combobox.cc @@ -20,6 +20,7 @@ Combobox::Combobox(Model* model) model_(model), listener_(NULL), selected_item_(0) { + SetFocusable(true); } Combobox::~Combobox() { |