NMitchell24 / CraftingCalculator

Simple Crafting Calculator for Survival Crafting Games
GNU General Public License v2.0
3 stars 1 forks source link

Recipe Ingredients are not reloading with newly added ingredients #21

Closed NMitchell24 closed 4 years ago

NMitchell24 commented 4 years ago

Describe the bug Newly added ingredients do not display for selection on recipes unless Recipe Component list is reloaded.

To Reproduce

  1. Steps to reproduce the behavior:
  2. File > Open Recipe Configuration
  3. Add new Ingredient. Name= 123, Desc = 123
  4. save
  5. Select Recipe Filter Data Type
  6. Add new Filter Name= 123, desc=123
  7. save
  8. Select Recipe Data Type
  9. Add new Recipe, name=123, recipe filter = 123, recipe description = 123
  10. Leave Recipe Components set to Ingredient.
  11. Drop out second drop list. new ingredient '123' is not visible.

Expected behavior Newly added ingredients should be immediately selectable for Recipes.

Workaround If you select Recipe Component = Recipe, then select Recipe Component = Ingredient the ingredients list reloads and newly added ingredient is available.

Affected Versions 2.0.0.0 (RecipeManager_1)

NMitchell24 commented 4 years ago

Issue is resolved with Commit 39629de