浏览代码

Fix bug where we don't renew the save file link on creating a new model.

Sam Jaffe 5 年之前
父节点
当前提交
eef444b92b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/lombok/org/leumasjaffe/recipe/controller/FileController.java

+ 1 - 0
src/main/lombok/org/leumasjaffe/recipe/controller/FileController.java

@@ -44,6 +44,7 @@ public class FileController {
 	}
 	
 	public void create() {
+		handle.clear();
 		setModel(new RecipeCard());
 	}