This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit b9b18c256347d6f2abdc8a5629c2ebbd8ddca9fb Author: jcouteau <couteau@codelutin.com> Date: Wed Sep 16 08:33:30 2020 +0200 fixes #10747 : Délock l'élément uniquement si on est en édition --- .../faxtomail/ui/swing/content/demande/DemandeUIHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java index c2671bf4..0ddc2557 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/DemandeUIHandler.java @@ -494,7 +494,9 @@ public class DemandeUIHandler extends AbstractFaxToMailUIHandler<DemandeUIModel, DemandeUIModel model = getModel(); - serviceContext.getEmailService().unlockEmail(model.getTopiaId()); + if (model.isEditable()) { + serviceContext.getEmailService().unlockEmail(model.getTopiaId()); + } model.removePropertyChangeListener(listModelListener); model.removePropertyChangeListener(Email.PROPERTY_DEMAND_TYPE, demandTypeListener); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.