From b86a710846776a8d56df952151bfd92901efd94e Mon Sep 17 00:00:00 2001 From: boccioli_m Date: Thu, 3 Sep 2015 15:26:04 +0200 Subject: [PATCH] Closedown --- plugins/TestingList.java | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/plugins/TestingList.java b/plugins/TestingList.java index 4dbf25c..1350f85 100644 --- a/plugins/TestingList.java +++ b/plugins/TestingList.java @@ -76,6 +76,14 @@ public class TestingList extends Panel { buildTable(); try { loadTests(); + //if not administrator, then show only enabled tests + boolean bShow = Controller.getInstance().getLevel()==AccessLevel.administrator; + showSelectedTestsOnly(bShow); + jCheckBoxMenuShowSelectedTests1.setState(bShow); + if(bShow){ + //if tests are not shown, then show the load tests dialog + loadSettings(); + } } catch (Exception ex) { getLogger().severe(ex.getMessage()); } @@ -1763,15 +1771,7 @@ public class TestingList extends Panel { } } } - } - //if not administrator, then show only enabled tests - boolean bShow = Controller.getInstance().getLevel()==AccessLevel.administrator; - showSelectedTestsOnly(bShow); - jCheckBoxMenuShowSelectedTests1.setState(bShow); - if(bShow){ - //if tests are not shown, then show the load tests dialog - loadSettings(); - } + } logger.log(Level.INFO, iCounter + " tests loaded."); }