Brewtarget / brewtarget

Main brewtarget source code repository.
GNU General Public License v3.0
312 stars 134 forks source link

Water chemistry misbehaving -- closes #705 #706

Closed mikfire closed 1 year ago

mikfire commented 1 year ago

I had to fix the initializer for the Salt object. The amount_is_weight, the amount and the addTo fields were all kind of cross wired.

The harder problem was the removeDuplicates method. I was unsure of the side effects of removing the deleted and not displayed tests, so I created a new method called removeDuplicatesIgnoreDisplay and used that in the SaltTableModel.

Things seem to be working better now.