From f5bb02dc533f136311682e8801c2d9834e3be691 Mon Sep 17 00:00:00 2001 From: deva Date: Wed, 3 Dec 2008 08:46:12 +0000 Subject: Fixed onchange in altcombobox and checkbox. --- client/widgets/combobox.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/widgets/combobox.cc') 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); } -- cgit v1.2.3