labelle-org / labelle

Label printing software
Apache License 2.0
49 stars 8 forks source link

labelle-gui crashes when text field's size [%] is zero #80

Open tomek-szczesny opened 1 month ago

tomek-szczesny commented 1 month ago

Just as the title states, when I wanted to change 90% into 100% and removed "9", it crashed. Easy to reproduce, and probably just does division by 0 somewhere.

The same happens to "barcode" field.

A blank field doesn't crash though.