diff --git a/plugins/testng/src/com/theoryinpractice/testng/configuration/TestNGConfigurationEditor.java b/plugins/testng/src/com/theoryinpractice/testng/configuration/TestNGConfigurationEditor.java index 04341ca0b1d3..a867eb817bd2 100644 --- a/plugins/testng/src/com/theoryinpractice/testng/configuration/TestNGConfigurationEditor.java +++ b/plugins/testng/src/com/theoryinpractice/testng/configuration/TestNGConfigurationEditor.java @@ -175,6 +175,7 @@ public class TestNGConfigurationEditor extends Se commonJavaParameters.setAnchor(moduleClasspath.getLabel()); myShortenCommandLineCombo.setAnchor(moduleClasspath.getLabel()); myUseModulePath.setAnchor(moduleClasspath.getLabel()); + myUseModulePath.getComponent().setText(ExecutionBundle.message("use.module.path.checkbox.label")); myUseModulePath.getComponent().setSelected(true); myUseModulePath.setVisible(FilenameIndex.getFilesByName(project, PsiJavaModule.MODULE_INFO_FILE, GlobalSearchScope.projectScope(project)).length > 0); } @@ -274,7 +275,6 @@ public class TestNGConfigurationEditor extends Se listenerModel.setListenerList(data.TEST_LISTENERS); myUseDefaultReportersCheckBox.setSelected(data.USE_DEFAULT_REPORTERS); myShortenCommandLineCombo.getComponent().setSelectedItem(config.getShortenCommandLine()); - myUseModulePath.getComponent().setText(ExecutionBundle.message("use.module.path.checkbox.label")); myUseModulePath.getComponent().setSelected(config.isUseModulePath()); }