branch feature/7591_Correction_migration_entites_d_un_parent_a_un_autre updated (e8e4e82 -> 83b1441)
This is an automated email from the git hooks/post-receive script. New change to branch feature/7591_Correction_migration_entites_d_un_parent_a_un_autre in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git from e8e4e82 Fix go to open activity buttons label and visibility new 83b1441 Fix path expansion when moving an entity from a parent to another 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 83b1441fd13385f094761bd6c8c572d0d7a281bf Author: Samuel Maisonneuve <maisonneuve@codelutin.com> Date: Wed Aug 3 15:06:12 2016 +0200 Fix path expansion when moving an entity from a parent to another refs #7591 Summary of changes: .../src/main/java/fr/ird/observe/ui/tree/ObserveTreeHelper.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) -- 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 feature/7591_Correction_migration_entites_d_un_parent_a_un_autre in repository observe. See https://gitlab.nuiton.org/codelutin/observe.git commit 83b1441fd13385f094761bd6c8c572d0d7a281bf Author: Samuel Maisonneuve <maisonneuve@codelutin.com> Date: Wed Aug 3 15:06:12 2016 +0200 Fix path expansion when moving an entity from a parent to another refs #7591 --- .../src/main/java/fr/ird/observe/ui/tree/ObserveTreeHelper.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/observe-application-swing/src/main/java/fr/ird/observe/ui/tree/ObserveTreeHelper.java b/observe-application-swing/src/main/java/fr/ird/observe/ui/tree/ObserveTreeHelper.java index 28e496f..7d8b0b8 100644 --- a/observe-application-swing/src/main/java/fr/ird/observe/ui/tree/ObserveTreeHelper.java +++ b/observe-application-swing/src/main/java/fr/ird/observe/ui/tree/ObserveTreeHelper.java @@ -598,11 +598,13 @@ public class ObserveTreeHelper extends NavTreeHelper<ObserveNode> { } finally { // Clean the path to select bridge.setPathToSelect(); - } if (expandNode) { - expandPath(new TreePath(node.getPath())); + + // Fix bug (if no child in parent node, it will not expand...) + getUI().fireTreeExpanded(new TreePath(node.getPath())); + } } } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm