Преглед на файлове

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