summaryrefslogtreecommitdiff
path: root/client/widgets/altcombobox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'client/widgets/altcombobox.cc')
-rw-r--r--client/widgets/altcombobox.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/client/widgets/altcombobox.cc b/client/widgets/altcombobox.cc
index c68f816..352cd19 100644
--- a/client/widgets/altcombobox.cc
+++ b/client/widgets/altcombobox.cc
@@ -203,6 +203,11 @@ void AltComboBox::disable()
setEnabled(false);
}
+bool AltComboBox::isDisabled()
+{
+ return isEnabled() == false;
+}
+
void AltComboBox::onChildChange()
{
emit wasChanged();