summaryrefslogtreecommitdiff
path: root/client/widgets/multilist.cc
diff options
context:
space:
mode:
authordeva <deva>2010-08-13 12:18:14 +0000
committerdeva <deva>2010-08-13 12:18:14 +0000
commit37cd747953facf8c4ffed40dcef175391d15c388 (patch)
treec18d65b3159f92b998673c8499b82cdd2e1277a7 /client/widgets/multilist.cc
parent6031ee9c32023fe1202c7e8160dbb04fe4bd0429 (diff)
Child recursion setValue fix. Missing initialisation of hideChildren and missing check on valid().
Diffstat (limited to 'client/widgets/multilist.cc')
-rw-r--r--client/widgets/multilist.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/client/widgets/multilist.cc b/client/widgets/multilist.cc
index 0160440..8544e06 100644
--- a/client/widgets/multilist.cc
+++ b/client/widgets/multilist.cc
@@ -183,7 +183,7 @@ void MultiList::setValue(QString values, QString source)
idx++;
} while(value != "");
- setInitialValue(values);
+ // setInitialValue(values);
eventOnChange();
}
@@ -205,7 +205,8 @@ void MultiList::add()
list->addItem(innerwidget->value());
emit wasChanged();
- innerwidget->reset();
+ // innerwidget->reset();
+ innerwidget->setValues();
innerwidget_has_changes = false;
eventOnChange();