Brewtarget / brewtarget

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

Fix crash when creating new Equipment #635

Closed matty0ung closed 2 years ago

matty0ung commented 2 years ago

Fix for https://github.com/Brewtarget/brewtarget/issues/634 plus more general tweak so we get an error message rather than an assert when trying to call toSI() for a BtLineEdit that does not related to a physical quantity. (Though we should fix the inheritance hierarchy for BtGenericEdit etc so that these things get flushed out at compile time.)