chore(client): use lambda arg

This commit is contained in:
Zhongheng Liu 2026-01-06 21:45:29 +01:00
commit ef65f33b64
Signed by: steven
GPG key ID: F69B980899C1C09D

View file

@ -337,7 +337,7 @@ public class FoodpalApplicationCtrl implements LocaleAware {
Recipe cloned = server.cloneRecipe(selected.getId());
dataService.add(cloned.getId(), recipe -> {
recipeList.getSelectionModel().select(cloned);
recipeList.getSelectionModel().select(recipe);
openSelectedRecipe();}
);
}