From 7e54bba4f0e3bb17d205b551ab6799020fc9c110 Mon Sep 17 00:00:00 2001 From: "jcampan@chromium.org" Date: Wed, 3 Jun 2009 20:17:11 +0000 Subject: 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 --- views/controls/combobox/combobox.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'views/controls/combobox/combobox.cc') 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() { -- cgit v1.1