fix(client/main): fixed FIXME(1) edit box rendering
This commit is contained in:
parent
9f892e8fb1
commit
0cc767d577
1 changed files with 1 additions and 3 deletions
|
|
@ -294,10 +294,8 @@ public class FoodpalApplicationCtrl implements LocaleAware {
|
||||||
// Map of pending item updated, indexed by recipe id.
|
// Map of pending item updated, indexed by recipe id.
|
||||||
dataService.add(newRecipe.getId(), recipe -> {
|
dataService.add(newRecipe.getId(), recipe -> {
|
||||||
this.recipeList.getSelectionModel().select(recipe);
|
this.recipeList.getSelectionModel().select(recipe);
|
||||||
// Select newly created recipe
|
|
||||||
// FIXME(1) Edit box isn't auto created anymore for some weird reason
|
|
||||||
openSelectedRecipe();
|
openSelectedRecipe();
|
||||||
this.recipeDetailController.editRecipeTitle();
|
Platform.runLater(() -> this.recipeDetailController.editRecipeTitle());
|
||||||
});
|
});
|
||||||
recipeList.refresh();
|
recipeList.refresh();
|
||||||
} catch (IOException | InterruptedException e) {
|
} catch (IOException | InterruptedException e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue