mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IAE: ArtifactImpl.setArtifactType
This commit is contained in:
+1
-1
@@ -123,7 +123,7 @@ public class ArtifactConfigurable extends ProjectStructureElementConfigurable<Ar
|
||||
artifactTypeBox.addActionListener(new ActionListener() {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
final ArtifactType selected = (ArtifactType)artifactTypeBox.getSelectedItem();
|
||||
if (!Comparing.equal(selected, getArtifact().getArtifactType())) {
|
||||
if (selected != null && !Comparing.equal(selected, getArtifact().getArtifactType())) {
|
||||
myEditor.setArtifactType(selected);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user