This is an automated email from the git hooks/post-receive script. New commit to branch feature/9096_print_only_one_content in repository faxtomail. See https://gitlab.nuiton.org/codelutin/faxtomail.git commit d19e6b3c35c9e2e0db32782c25c592a57dfc921c Author: Kevin Morin <morin@codelutin.com> Date: Tue Apr 4 11:27:11 2017 +0200 repositionnement "manuel" du séparateur pour ne pas avoir des positionnements par dossier --- .../ui/swing/content/demande/actions/LoadFolderEmailsAction.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/actions/LoadFolderEmailsAction.java b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/actions/LoadFolderEmailsAction.java index 49bbe70..0d6ef2b 100644 --- a/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/actions/LoadFolderEmailsAction.java +++ b/faxtomail-ui-swing/src/main/java/com/franciaflex/faxtomail/ui/swing/content/demande/actions/LoadFolderEmailsAction.java @@ -95,6 +95,10 @@ public class LoadFolderEmailsAction extends AbstractFaxToMailAction<DemandeListU // (as every folder can have a different header) getContext().getSwingSession().updateState(); + // get the divider location to reapply it after the save in the session + // otherwise, the divider will be set at different locations according to the folder + int dividerLocation = getUI().getMainSplitPane().getDividerLocation(); + MailFolder folderWithCanChangeOrderInTable = folder; while (folderWithCanChangeOrderInTable.getCanChangeOrderInTable() == null && folderWithCanChangeOrderInTable.getParent() != null) { @@ -108,6 +112,8 @@ public class LoadFolderEmailsAction extends AbstractFaxToMailAction<DemandeListU getUI().setName("demandeListUI" + folder.getTopiaId()); getContext().getSwingSession().add(getUI(), true); + getUI().getMainSplitPane().setDividerLocation(dividerLocation); + // fixes #5528 filtre sur les colonnes : il manque l'icone qui indique que la colonne est filtrée handler.updateEmailFilterWithContextEmailFilter(); model.resetOrderPaginationParameter(); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.