diff options
author | deva <deva> | 2010-08-17 12:15:06 +0000 |
---|---|---|
committer | deva <deva> | 2010-08-17 12:15:06 +0000 |
commit | 8bf85a6919e4d0ea93eb7bce8b394f4b5219ee59 (patch) | |
tree | 5ccf710fe3598b1b99d49ee8e46633b0f5eb1300 /client/widgets/widget.cc | |
parent | 8c1074e85939118ede18797bd1ce249bb6cee30d (diff) |
Fix value set in combobox. Make wiodgets with no valu run their onChange events on startup.
Diffstat (limited to 'client/widgets/widget.cc')
-rw-r--r-- | client/widgets/widget.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/widgets/widget.cc b/client/widgets/widget.cc index 563f648..2e0bd2b 100644 --- a/client/widgets/widget.cc +++ b/client/widgets/widget.cc @@ -234,6 +234,7 @@ void Widget::addChildren(QDomNode &node, QLayout *layout) void Widget::setValues() { if(has_lazy) setValue(lazy_value, lazy_source); + else eventOnChange(); // Make sure we run validation on the unset widget. QVector< Widget* >::iterator i = children.begin(); while(i != children.end()) { |