# HG changeset patch # User Michiel Broek # Date 1668435831 -3600 # Node ID 6f84ab6125ad4ec6a625cc8d3519e56f4a6b53ed # Parent ebf4996ab39625c0c6f99a880e72873d992c4f28 block_misc updated for MISC_USES_SPARGE diff -r ebf4996ab396 -r 6f84ab6125ad src/EditProductTab5.cpp --- a/src/EditProductTab5.cpp Fri Nov 11 15:04:23 2022 +0100 +++ b/src/EditProductTab5.cpp Mon Nov 14 15:23:51 2022 +0100 @@ -38,7 +38,7 @@ return true; if (stage > PROD_STAGE_PRIMARY && use_use < MISC_USES_SECONDARY) return true; - if (stage > PROD_STAGE_BREW && use_use < MISC_USES_PRIMARY) + if (stage > PROD_STAGE_BREW && (use_use < MISC_USES_PRIMARY || use_use == MISC_USES_SPARGE)) return true; if (stage > PROD_STAGE_WAIT && use_use < MISC_USES_MASH) return true; diff -r ebf4996ab396 -r 6f84ab6125ad src/EditProductTab8.cpp --- a/src/EditProductTab8.cpp Fri Nov 11 15:04:23 2022 +0100 +++ b/src/EditProductTab8.cpp Mon Nov 14 15:23:51 2022 +0100 @@ -63,6 +63,7 @@ if ((F.di_ph != 5.7) && ((F.acid_to_ph_57 < - 0.1) || (F.acid_to_ph_57 > 0.1))) { C1 = F.acid_to_ph_57 / (F.di_ph - 5.7); + //qDebug() << " BufferCapacity(" << F.name << C1 << F.acid_to_ph_57 << F.di_ph << "from database"; } else { /* * If the acid_to_ph_5.7 is unknown from the maltster, guess the required acid. @@ -79,6 +80,7 @@ case FERMENTABLE_GRAINTYPE_SOUR_MALT: C1 = -149; break; } + //qDebug() << " BufferCapacity(" << F.name << C1 << "educated guess"; } return C1; }