summaryrefslogtreecommitdiff
path: root/client/widgets/metawidget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/metawidget.cc')
-rw-r--r--client/widgets/metawidget.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/widgets/metawidget.cc b/client/widgets/metawidget.cc
index 91c62ec..5102a04 100644
--- a/client/widgets/metawidget.cc
+++ b/client/widgets/metawidget.cc
@@ -101,6 +101,11 @@ void MetaWidget::disable()
setEnabled(false);
}
+bool MetaWidget::isDisabled()
+{
+ return isEnabled() == false;
+}
+
bool MetaWidget::isValid()
{
// If children are stored they will validate themselves.