kopia lustrzana https://github.com/inkstitch/inkstitch
Merge branch 'master' into lexelby-single-extension
commit
2c9077abce
|
@ -371,7 +371,7 @@ class Print(InkstitchExtension):
|
||||||
svg_overview = overview_svg,
|
svg_overview = overview_svg,
|
||||||
color_blocks = stitch_plan.color_blocks,
|
color_blocks = stitch_plan.color_blocks,
|
||||||
palettes = ThreadCatalog().palette_names(),
|
palettes = ThreadCatalog().palette_names(),
|
||||||
selected_palette = palette.name,
|
selected_palette = palette,
|
||||||
)
|
)
|
||||||
|
|
||||||
# We've totally mucked with the SVG. Restore it so that we can save
|
# We've totally mucked with the SVG. Restore it so that we can save
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
<option value="" selected>None</option>
|
<option value="" selected>None</option>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% for palette in palettes %}
|
{% for palette in palettes %}
|
||||||
<option value="{{ palette }}" {{ "selected" if palette == selected_palette else "" }}>{{ palette }}</option>
|
<option value="{{ palette }}" {{ "selected" if palette == selected_palette.name else "" }}>{{ palette }}</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select>
|
||||||
</p>
|
</p>
|
||||||
|
|
Ładowanie…
Reference in New Issue