From effad7f2840ef62c60b4e1bc0857e8adb67f1fec Mon Sep 17 00:00:00 2001 From: Riccardo De Benedictis Date: Mon, 25 Jun 2018 19:01:21 +0200 Subject: [PATCH] solved issue with tokens removal in the timeline visualization.. --- .../java/it/cnr/istc/lecture/desktopapp/LessonController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LECTurE-DesktopApp/src/main/java/it/cnr/istc/lecture/desktopapp/LessonController.java b/LECTurE-DesktopApp/src/main/java/it/cnr/istc/lecture/desktopapp/LessonController.java index 909bda1..3ce85bc 100644 --- a/LECTurE-DesktopApp/src/main/java/it/cnr/istc/lecture/desktopapp/LessonController.java +++ b/LECTurE-DesktopApp/src/main/java/it/cnr/istc/lecture/desktopapp/LessonController.java @@ -182,8 +182,8 @@ public class LessonController implements Initializable { for (int i = 0; i < tokens.getItemCount(); i++) { if (((TokenXYDataItem) tokens.getDataItem(i)).t == tk_row) { tokens.remove(i); + break; } - break; } }); }