Closedown

This commit is contained in:
boccioli_m
2015-09-03 15:26:04 +02:00
parent e00464a83b
commit b86a710846

View File

@@ -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.");
}