diff -r c9a1d85c1487 -r 877420a13815 src/EditProductTab11.cpp --- a/src/EditProductTab11.cpp Wed Aug 17 15:23:17 2022 +0200 +++ b/src/EditProductTab11.cpp Thu Aug 18 16:11:20 2022 +0200 @@ -174,6 +174,8 @@ product->bottle_abv = 0; product->bottle_bar = 0; } + ui->est_bottle_co2Edit->setValue(product->bottle_carbonation); + ui->est_bottle_co2Show->setValue(product->bottle_carbonation); ui->keg_sugarLabel->setEnabled(! product->keg_forced_carb); ui->keg_sugarEdit->setEnabled(! product->keg_forced_carb); @@ -184,7 +186,6 @@ ui->keg_sug_amountLabel->setEnabled(! product->keg_forced_carb); ui->keg_sug_amountShow->setEnabled(! product->keg_forced_carb); - // keg_amount keg_carbonation keg_priming_sugar keg_priming_amount keg_priming_water keg_carbonation_temp keg_forced_carb keg_pressure found1 = false; if (product->keg_amount) { @@ -262,6 +263,8 @@ ui->keg_sug_amountShow->setValue(0); ui->keg_sug_weightShow->setValue(0); } + ui->est_kegs_co2Edit->setValue(product->keg_carbonation); + ui->est_kegs_co2Show->setValue(product->keg_carbonation); } // if keg_amount }