mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-182597 xml icon is not replaced with plugin icon in second completion
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user