summaryrefslogtreecommitdiff
path: root/client/widgets/dbwidget.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/dbwidget.cc')
-rw-r--r--client/widgets/dbwidget.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/widgets/dbwidget.cc b/client/widgets/dbwidget.cc
index 00b3886..9ec0c0d 100644
--- a/client/widgets/dbwidget.cc
+++ b/client/widgets/dbwidget.cc
@@ -186,6 +186,11 @@ void DBWidget::disable()
setEnabled(false);
}
+bool DBWidget::isDisabled()
+{
+ return isEnabled() == false;
+}
+
void DBWidget::connectFrom(const char *signal,
const QObject *receiver, const char *method)
{