src/EditProductExport.cpp

changeset 394
f41d02c129e5
parent 384
d68826df8b63
child 402
3af1d728b02f
--- a/src/EditProductExport.cpp	Tue Aug 09 15:15:11 2022 +0200
+++ b/src/EditProductExport.cpp	Thu Aug 11 10:50:18 2022 +0200
@@ -310,6 +310,8 @@
     dup->divide_type = dup->divide_parts = dup->divide_part = 0;
     dup->divide_size = 0;
     dup->divide_factor = 1;
+    dup->log_brew = dup->log_fermentation = dup->log_ispindel = dup->log_co2pressure = dup->locked = 0;
+    dup->prop_volume[0] = dup->prop_volume[1] = dup->prop_volume[2] = dup->prop_volume[3] = 0;
 
     qDebug() << dup->record << dup->name;
     if (DB_product::save(dup, this)) {

mercurial