summaryrefslogtreecommitdiff
path: root/client/widgets/widget.h
diff options
context:
space:
mode:
authordeva <deva>2010-08-19 09:09:45 +0000
committerdeva <deva>2010-08-19 09:09:45 +0000
commit8e4159885b000b007ab820ffba3c39d257c1bdfb (patch)
treecc040b1c056ca69c84de92320d7ce9348cc97632 /client/widgets/widget.h
parent7914500c96ebe2106716a001ca2b93594d3c07a5 (diff)
Fixed missing recursive setValid on setEnabled.
Diffstat (limited to 'client/widgets/widget.h')
-rw-r--r--client/widgets/widget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/widgets/widget.h b/client/widgets/widget.h
index 17480cb..5d5f816 100644
--- a/client/widgets/widget.h
+++ b/client/widgets/widget.h
@@ -54,7 +54,7 @@ public:
// Set deep to true to validate inner widgets.
bool valid(bool deep = false);
- void setValid(bool valid);
+ void setValid(bool valid, bool deep = false);
// Implement in subclasses to contribute to the validation.
virtual bool preValid() { return true; }