pklaus / brother_ql_web

A Python-based web service to print labels on Brother QL label printers. Based on brother_ql: https://github.com/pklaus/brother_ql
GNU General Public License v3.0
261 stars 127 forks source link

Reflect font-selection in frontend #11

Closed vonloxley closed 4 years ago

vonloxley commented 6 years ago

Not sure how this was supposed to work, but I needed the following in views/labeldesigner.jinja2" line 54: <option {% if label['DEFAULT_FONTS']['style'] == font_style and label['DEFAULT_FONTS']['family'] == font_family_name %}selected{% endif %}>{{font_family_name}} ({{ font_style }})</option>

ChristopherHackett commented 5 years ago

Thanks @vonloxley for the hint, much appreciated.

pklaus commented 4 years ago

Fix finally cherry-picked and pushed. Thanks!