Brewtarget / brewtarget

Main brewtarget source code repository.
GNU General Public License v3.0
315 stars 134 forks source link

Copy recipe crash #899

Open Brew1984 opened 1 day ago

Brew1984 commented 1 day ago

When copying a recipe 4.0.11 crashes with assert: [16:20:55.782] (5rc) ERROR : ASSERT: "hopAddition.recipeId() == this->key()" in file ../src/model/Recipe.cpp, line 2602 [model/Recipe.cpp:2602]

matty0ung commented 1 day ago

Thanks for letting me know about this. A fix is on the way. Turns out I accidentally removed a line of code in Recipe.cpp (because I'd originally planned to move it somewhere else). Reinstating it stops this crash.