summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/widgets/widget.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/widgets/widget.cc b/client/widgets/widget.cc
index d4d0826..9e15bf2 100644
--- a/client/widgets/widget.cc
+++ b/client/widgets/widget.cc
@@ -269,14 +269,14 @@ void Widget::addChildren(QDomNode &node, QLayout *layout)
void Widget::setValues()
{
- if(has_lazy) setValue(lazy_value, lazy_source);
- else emit eventOnChange(); // Make sure we run validation on the unset widget.
-
QVector< Widget* >::iterator i = children.begin();
while(i != children.end()) {
if(*i) (*i)->setValues();
i++;
}
+
+ if(has_lazy) setValue(lazy_value, lazy_source);
+ else emit eventOnChange(); // Make sure we run validation on the unset widget.
}
void Widget::createWidget(QDomNode &xml_node, QLayout *layout)