refactor fix missing cache

This commit is contained in:
Hansjörg Hofer 2024-01-14 14:54:44 +01:00
parent f9a072dac0
commit 2c40adb456
1 changed files with 3 additions and 1 deletions

View File

@ -273,7 +273,9 @@ public class ProcessesForm {
if (resultImage.isPresent()) {
BufferedImage bufferedImageR = resizeImage(resultImage.get(), 26, 26);
return new ImageIcon(bufferedImageR);
Icon icon = new ImageIcon(bufferedImageR);
iconCacheMap.put(fullProcessPathName, icon);
return icon;
}
}