src/EditProduct.cpp

changeset 532
082786891630
parent 530
a4d5daae8389
equal deleted inserted replaced
531:490ed8ac84a9 532:082786891630
510 ui->sp_acidtypeEdit->setCurrentIndex(product->sparge_acid_type); 510 ui->sp_acidtypeEdit->setCurrentIndex(product->sparge_acid_type);
511 ui->sp_acidpercEdit->setValue(product->sparge_acid_perc); 511 ui->sp_acidpercEdit->setValue(product->sparge_acid_perc);
512 /* 512 /*
513 * At this point, see if we must upgrade the whole water part. 513 * At this point, see if we must upgrade the whole water part.
514 */ 514 */
515 if (product->sparge_volume != (product->brew_sparge_est + product->eq_HLT_deadspace)) { 515 if ((product->sparge_volume != (product->brew_sparge_est + product->eq_HLT_deadspace)) && (product->stage < PROD_STAGE_PRIMARY)) {
516 qDebug() << "== Update sparge water supply from" << product->sparge_volume << "to" << (product->brew_sparge_est + product->eq_HLT_deadspace); 516 qDebug() << "== Update sparge water supply from" << product->sparge_volume << "to" << (product->brew_sparge_est + product->eq_HLT_deadspace);
517 product->sparge_volume = product->brew_sparge_est + product->eq_HLT_deadspace; 517 product->sparge_volume = product->brew_sparge_est + product->eq_HLT_deadspace;
518 is_changed(); 518 is_changed();
519 } 519 }
520 ui->brew_spargevolShow->setValue(product->sparge_volume); 520 ui->brew_spargevolShow->setValue(product->sparge_volume);

mercurial