From 8c13c32ac0f9912c56c7bca6c4ddf52c0d803b68 Mon Sep 17 00:00:00 2001 From: David Capello Date: Sat, 16 Jun 2012 00:06:54 -0300 Subject: [PATCH] The combobox button isn't a focus stop. --- src/gui/combobox.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/combobox.cpp b/src/gui/combobox.cpp index 589adbdb0..ae50e85dc 100644 --- a/src/gui/combobox.cpp +++ b/src/gui/combobox.cpp @@ -18,7 +18,9 @@ using namespace gfx; class ComboBoxButton : public Button { public: - ComboBoxButton() : Button("") { } + ComboBoxButton() : Button("") { + setFocusStop(false); + } void onPaint(PaintEvent& ev) OVERRIDE { getTheme()->paintComboBoxButton(ev);