660 } |
660 } |
661 |
661 |
662 |
662 |
663 void EditProduct::yeast_pitchrate_button_clicked() |
663 void EditProduct::yeast_pitchrate_button_clicked() |
664 { |
664 { |
|
665 #ifdef DEBUG_YEAST |
|
666 qDebug() << "yeast_pitchrate_button_clicked"; |
|
667 #endif |
|
668 |
|
669 |
|
670 } |
|
671 |
|
672 |
|
673 void EditProduct::yeast_retry_button_clicked() |
|
674 { |
|
675 #ifdef DEBUG_YEAST |
|
676 qDebug() << "yeast_retry_button_clicked"; |
|
677 #endif |
|
678 |
|
679 int rc = QMessageBox::warning(this, tr("Retry starter"), tr("Retry to automatic create starter steps"), |
|
680 QMessageBox::Yes | QMessageBox::No, QMessageBox::No); |
|
681 if (rc == QMessageBox::No) |
|
682 return; |
|
683 |
|
684 for (int i = 0; i < 4; i++) { |
|
685 product->prop_volume[i] = 0; |
|
686 product->prop_type[i] = product->starter_type; |
|
687 } |
|
688 calcYeast(); |
|
689 is_changed(); |
665 } |
690 } |
666 |
691 |
667 |
692 |
668 void EditProduct::yeast_starter_edit_clicked() |
693 void EditProduct::yeast_starter_edit_clicked() |
669 { |
694 { |