This is an automated email from the git hooks/post-receive script. New commit to branch feature/7017 in repository observe. See http://git.codelutin.com/observe.git commit b1c6d984f0c17942eb42eaff8420f70685cd3510 Author: Tony CHEMIT <chemit@codelutin.com> Date: Mon Apr 27 14:57:30 2015 +0200 mise à jour du programme ouvert lors du déplacement d'une marée (ref #7017) --- .../fr/ird/observe/ui/tree/ObserveNavigationTreeShowPopupAction.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/observe-swing/src/main/java/fr/ird/observe/ui/tree/ObserveNavigationTreeShowPopupAction.java b/observe-swing/src/main/java/fr/ird/observe/ui/tree/ObserveNavigationTreeShowPopupAction.java index ba2630a..78712a2 100644 --- a/observe-swing/src/main/java/fr/ird/observe/ui/tree/ObserveNavigationTreeShowPopupAction.java +++ b/observe-swing/src/main/java/fr/ird/observe/ui/tree/ObserveNavigationTreeShowPopupAction.java @@ -223,8 +223,7 @@ public class ObserveNavigationTreeShowPopupAction { OpenableService openableService = observeContext.getService(OpenableService.class); TripService tripService = observeContext.getService(TripService.class); String tripId = selectedNode.getId(); - String openTripId = observeContext.getDataContext().getOpenTripId(); - boolean tripOpen = openTripId!=null && openTripId.equals(tripId); + boolean tripOpen = selectedNode.isOpen(); List<Program> programs = tripService.getPossibleProgramsForTrip(tripId); -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.