fix: autoselect cloned recipe after cloning operation
This commit is contained in:
parent
409877a6fb
commit
10868134b0
1 changed files with 2 additions and 2 deletions
|
|
@ -318,9 +318,9 @@ public class FoodpalApplicationCtrl implements LocaleAware {
|
|||
return;
|
||||
}
|
||||
|
||||
server.cloneRecipe(selected.getId());
|
||||
Recipe cloned = server.cloneRecipe(selected.getId());
|
||||
refresh();
|
||||
|
||||
recipeList.getSelectionModel().select(cloned);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue