Skip to content

Commit

Permalink
reflect font-selection from config in web gui
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherHackett authored and pklaus committed Jan 30, 2020
1 parent 6da0745 commit 9e20b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/labeldesigner.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<select class="form-control" id="fontFamily" onChange="preview()">
{% for font_family_name in font_family_names %}
{% for font_style in fonts[font_family_name].keys() %}
<option>{{font_family_name}} ({{ font_style }})</option>
<option {% if label['DEFAULT_FONTS']['style'] == font_style and label['DEFAULT_FONTS']['family'] == font_family_name %}selected{% endif %}>{{font_family_name}} ({{ font_style }})</option>
{% endfor %}
{% endfor %}
</select>
Expand Down

0 comments on commit 9e20b6d

Please sign in to comment.