|
|
|
@ -445,6 +445,8 @@ public class HistoryTemplateListCache implements CallbackEvent {
|
|
|
|
|
int size = historyList.size(); |
|
|
|
|
for (int i = 0; i < size; i++) { |
|
|
|
|
JTemplate<?, ?> template = historyList.get(i); |
|
|
|
|
// 判断刷新逻辑比较耗时,且可能出现插件安装后误判导致不刷新
|
|
|
|
|
// 插件安装/启用场景比较少,因此插件安装/启用后每次均进行刷新
|
|
|
|
|
FILE file = template.getEditingFILE(); |
|
|
|
|
FILE stashFile = template.templateToStashFile(); |
|
|
|
|
if (stashFile != null) { |
|
|
|
|