소스 검색

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());
 	}