IDEA-182597 xml icon is not replaced with plugin icon in second completion

This commit is contained in:
Anton Tarasov
2017-11-23 15:38:18 +03:00
parent 23e6c27a1a
commit 1f6d7066a7
@@ -278,7 +278,7 @@ public class FilePathCompletionContributor extends CompletionContributor {
myHelpers = helpers;
myInfo = FileInfoManager.getFileAdditionalInfo(file);
myIcon = file.getFileType().getIcon();
myIcon = file.getIcon(0);
myFile = file;
}
@@ -293,7 +293,7 @@ public class FilePathCompletionContributor extends CompletionContributor {
@Override
public Object getObject() {
return myFile;
}
}
@Override
@NotNull