src/EditProductTab3.cpp

changeset 224
d369948a3eb5
parent 219
fa7cad488e27
child 225
448e4187cada
--- a/src/EditProductTab3.cpp	Fri May 20 12:47:35 2022 +0200
+++ b/src/EditProductTab3.cpp	Fri May 20 14:48:03 2022 +0200
@@ -275,13 +275,6 @@
 	    colorh += product->fermentables.at(i).f_amount * product->fermentables.at(i).f_color * Utils::get_kt(product->fermentables.at(i).f_color);
 	    colorn += (product->fermentables.at(i).f_percentage / 100) * product->fermentables.at(i).f_color;	// For 8.6 Pt wort.
 	}
-	if (product->fermentables.at(i).f_added == FERMENTABLE_ADDED_BOTTLE) {	// Bottle priming
-	    ui->bottle_sug_weightShow->setValue(product->fermentables.at(i).f_amount * 1000);
-	    // product->fermentables.at(i).f_name  select in dropdown
-	}
-	if (product->fermentables.at(i).f_added == FERMENTABLE_ADDED_KEGS) {	// Keg priming
-
-	}
 	/* Check supplies */
 	if ((((product->inventory_reduced <= PROD_STAGE_BREW)     && (product->fermentables.at(i).f_added <= FERMENTABLE_ADDED_BOIL)) ||
 	     ((product->inventory_reduced <= PROD_STAGE_PRIMARY)  && (product->fermentables.at(i).f_added == FERMENTABLE_ADDED_FERMENTATION)) ||

mercurial