de094b0fbefcc2787025f1e9052409314d604754
java/com.sap.sse.security.ui/src/main/java/com/sap/sse/security/ui/client/usermanagement/UserEditDialog.java
| ... | ... | @@ -77,9 +77,7 @@ public class UserEditDialog extends DataEntryDialog<UserDTO> { |
| 77 | 77 | this.company = createTextBox(userToEdit.getCompany(), 70); |
| 78 | 78 | this.optOutOfFeatureAndCommunityEmailsCheckbox = new CheckBox(stringMessages.optOutOfFeatureAndCommunityEmails(), |
| 79 | 79 | userToEdit.getDidOptOutOfFeatureAndCommunityEmails()); |
| 80 | - if(userToEdit.getDidOptOutOfFeatureAndCommunityEmails()) { |
|
| 81 | - optOutOfFeatureAndCommunityEmailsCheckbox.setValue(true); |
|
| 82 | - } |
|
| 80 | + optOutOfFeatureAndCommunityEmailsCheckbox.setValue(userToEdit.getDidOptOutOfFeatureAndCommunityEmails()); |
|
| 83 | 81 | this.accountPanels = new VerticalPanel(); |
| 84 | 82 | for (AccountDTO a : userToEdit.getAccounts()) { |
| 85 | 83 | DecoratorPanel accountPanelDecorator = new DecoratorPanel(); |