From 216ac477ffc25ce94325cca68db268f84345371e Mon Sep 17 00:00:00 2001 From: Gleb Gorelov Date: Mon, 23 Apr 2018 16:38:00 +0400 Subject: [PATCH] PL-10721 Desktop client: a checkbox is available to edit when the field group is not editable --- .../haulmont/cuba/desktop/gui/components/DesktopCheckBox.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopCheckBox.java b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopCheckBox.java index 334a933b31..22a1204755 100644 --- a/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopCheckBox.java +++ b/modules/desktop/src/com/haulmont/cuba/desktop/gui/components/DesktopCheckBox.java @@ -177,7 +177,7 @@ public class DesktopCheckBox extends DesktopAbstractField implements @Override protected void setEditableToComponent(boolean editable) { - updateEnabled(); + impl.setEnabled(editable && isEnabledWithParent()); } @Override