Sat, 01 Jun 2024 15:19:08 +0200
Allow enter first pH measurements from every mash step and not just the first one. All pH editors in the production module have 0.05 or 0.01 resolution in the edit steps.
src/EditProductTab7.cpp | file | annotate | diff | comparison | revisions | |
ui/EditProduct.ui | file | annotate | diff | comparison | revisions |
--- a/src/EditProductTab7.cpp Thu Apr 25 13:16:48 2024 +0200 +++ b/src/EditProductTab7.cpp Sat Jun 01 15:19:08 2024 +0200 @@ -453,7 +453,7 @@ qDebug() << "stepph_changed" << product->mashs_row << val; if (product->mashs.at(product->mashs_row).step_ph == 0) { - if (product->mashs_row == 0) { + if ((product->mashs_row == 0) || ((product->mashs_row > 0) && (product->mashs.at(product->mashs_row - 1).step_ph == 0))) { /* * Jump start at 5.0pH */ @@ -642,7 +642,7 @@ stepphEdit->setDecimals(2); stepphEdit->setMaximum(14.0); stepphEdit->setAccelerated(true); - stepphEdit->setSingleStep(0.1); + stepphEdit->setSingleStep(0.01); stepphEdit->setValue(product->mashs.at(product->mashs_row).step_ph); /*
--- a/ui/EditProduct.ui Thu Apr 25 13:16:48 2024 +0200 +++ b/ui/EditProduct.ui Sat Jun 01 15:19:08 2024 +0200 @@ -95,7 +95,7 @@ <enum>QTabWidget::Rounded</enum> </property> <property name="currentIndex"> - <number>0</number> + <number>10</number> </property> <property name="elideMode"> <enum>Qt::ElideNone</enum> @@ -4990,7 +4990,7 @@ <double>14.000000000000000</double> </property> <property name="singleStep"> - <double>0.100000000000000</double> + <double>0.050000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="mw_acidpercEdit"> @@ -5103,7 +5103,7 @@ <double>14.000000000000000</double> </property> <property name="singleStep"> - <double>0.100000000000000</double> + <double>0.050000000000000</double> </property> </widget> <widget class="QLabel" name="sp_acidtypeLabel"> @@ -7574,7 +7574,7 @@ <double>14.000000000000000</double> </property> <property name="singleStep"> - <double>0.100000000000000</double> + <double>0.010000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="brew_mashphShow"> @@ -7811,7 +7811,7 @@ <double>14.000000000000000</double> </property> <property name="singleStep"> - <double>0.100000000000000</double> + <double>0.010000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="brew_spargeestShow"> @@ -7991,7 +7991,7 @@ <double>14.000000000000000</double> </property> <property name="singleStep"> - <double>0.100000000000000</double> + <double>0.010000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="brew_preboilsgEdit"> @@ -9008,7 +9008,7 @@ <double>14.000000000000000</double> </property> <property name="singleStep"> - <double>0.100000000000000</double> + <double>0.010000000000000</double> </property> </widget> <widget class="QDoubleSpinBox" name="brew_aboilvolEdit"> @@ -10703,7 +10703,7 @@ <double>14.000000000000000</double> </property> <property name="singleStep"> - <double>0.100000000000000</double> + <double>0.010000000000000</double> </property> </widget> <widget class="QLineEdit" name="pack_notesEdit">