summaryrefslogtreecommitdiff
path: root/client/widgets/combobox.cc
diff options
context:
space:
mode:
authordeva <deva>2008-12-03 08:46:12 +0000
committerdeva <deva>2008-12-03 08:46:12 +0000
commitf5bb02dc533f136311682e8801c2d9834e3be691 (patch)
treeb4d2207eb885860b58911c34be2c237a6e1b8b03 /client/widgets/combobox.cc
parent71649bf93bbbf871f48e1e94f4a42aa2534d5370 (diff)
Fixed onchange in altcombobox and checkbox.
Diffstat (limited to 'client/widgets/combobox.cc')
-rw-r--r--client/widgets/combobox.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/widgets/combobox.cc b/client/widgets/combobox.cc
index a1a69af..630a449 100644
--- a/client/widgets/combobox.cc
+++ b/client/widgets/combobox.cc
@@ -123,6 +123,8 @@ void ComboBox::setValue(QString value)
{
int idx = findData(value);
+ printf("setValue(\"%s\") - %d\n", value.toStdString().c_str(), idx);
+
setCurrentIndex(idx);
}