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