diff options
| author | Lex Neva <lexelby@users.noreply.github.com> | 2018-05-04 19:59:39 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-05-04 19:59:39 -0400 |
| commit | e1df573298ccc47dc573c3fbec5aaa11afa1449f (patch) | |
| tree | ddaa54e6214e11a9c332ccb010504663da7134f1 /embroider_print.py | |
| parent | 83a0edc1b656dd2914b0211d3992e91b6830d9ed (diff) | |
| parent | d09ba5362b77808040254c109df44b3e6c45382d (diff) | |
Merge pull request #162 from lexelby/lexelby-fix-palette-crash
handle case where no palette is used
Diffstat (limited to 'embroider_print.py')
| -rw-r--r-- | embroider_print.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embroider_print.py b/embroider_print.py index ee9193a8..5895bc51 100644 --- a/embroider_print.py +++ b/embroider_print.py @@ -377,7 +377,7 @@ class Print(InkstitchExtension): svg_overview = overview_svg, color_blocks = stitch_plan.color_blocks, 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 |
