IDEA-85611 Run configurations: impossible to delete the default Make 'before launch' goal

This commit is contained in:
Vassiliy Kudryashov
2012-05-05 17:37:17 +04:00
parent 019d9ee6b5
commit 26ee79186e
19 changed files with 54 additions and 130 deletions
@@ -109,7 +109,7 @@ public class BuildArtifactsBeforeRunTaskProvider extends BeforeRunTaskProvider<B
@Override
public String getDescription(BuildArtifactsBeforeRunTask task) {
final List<ArtifactPointer> pointers = task.getArtifactPointers();
if (!task.isEnabled() || pointers.isEmpty()) {
if (pointers.isEmpty()) {
return CompilerBundle.message("build.artifacts.before.run.description.empty");
}
if (pointers.size() == 1) {