branch develop updated (02592e8a -> b9b18c25)
This is an automated email from the git hooks/post-receive script. New change to branch develop in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git from 02592e8a fixes #10747 : Really opens readonly when we say it opens as readonly new b9b18c25 fixes #10747 : Délock l'élément uniquement si on est en édition The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: 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 Summary of changes: .../faxtomail/ui/swing/content/demande/DemandeUIHandler.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
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>.
participants (1)
-
codelutin.com scm