Browse Source

无JIRA任务 向不存在的模版路径写入时不需要先新建空文件,否则其它存储实现会导致重命名失败

research/10.0
rinoux 6 years ago
parent
commit
f7081a1095
  1. 1
      designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java

1
designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java

@ -591,7 +591,6 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
return false;
}
editingFILE = fileChooser.getSelectedFILE();
mkNewFile(editingFILE);
}
return saveNewFile(editingFILE, oldName);

Loading…
Cancel
Save