From cfde8e8315194c200a5c8b8acecb669330ec8214 Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Mon, 15 Jun 2015 11:02:29 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index ed763e5..a0b12ab 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -96,7 +96,10 @@ public class TestingList extends Panel { //start next test if(iCurrentTestPos>=0 && testingList.isTestRunAllowed()) { - testingList.executeTest(iCurrentTestPos+1); + final int position = iCurrentTestPos+1; + SwingUtilities.invokeLater(() -> { + testingList.executeTest(position); + }); } } } @@ -111,7 +114,10 @@ public class TestingList extends Panel { //start next test if(iCurrentTestPos>=0 && testingList.isTestRunAllowed()) { - testingList.executeTest(iCurrentTestPos+1); + final int position = iCurrentTestPos+1; + SwingUtilities.invokeLater(() -> { + testingList.executeTest(position); + }); } } }