diff options
| author | Kaalleen <36401965+kaalleen@users.noreply.github.com> | 2023-09-03 13:00:23 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-03 13:00:23 +0200 |
| commit | 7a2bad56ae3f5486276038632ca031dc29c92152 (patch) | |
| tree | 60f5fac1a449c949344debf3bfc5558df7973f00 /templates | |
| parent | 6a8ea6865192aa620f2f5df147c2f884ac08927e (diff) | |
remove specific commands only (#2494)
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/remove_embroidery_settings.xml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/templates/remove_embroidery_settings.xml b/templates/remove_embroidery_settings.xml index be3615dc..478fd44c 100644 --- a/templates/remove_embroidery_settings.xml +++ b/templates/remove_embroidery_settings.xml @@ -5,8 +5,21 @@ <param name="description" type="description">Use this extension to remove the information Ink/Stitch has stored in your document. This can be especially useful if you copy and paste objects from an embroidery design into another document.</param> <param name="del_params" type="boolean" gui-text="Remove Params" gui-description="Removes params from selected objects or all objects if nothing is selected.">true</param> - <param name="del_commands" type="boolean" gui-text="Remove Commands" - gui-description="Removes visual commands from selected objects or all objects if nothing is selected.">false</param> + <param name="del_commands" type="optiongroup" gui-text="Remove Commands" + gui-description="Removes visual commands from selected objects or all objects if nothing is selected." + appearance="combo"> + <option value="none">None</option> + <option value="all">All</option> + {%- for command, description in object_commands -%} + <option value="{{ command }}">{{ description }}</option> + {% endfor %} + {% for command, description in layer_commands %} + <option value="{{ command }}">{{ description }}</option> + {% endfor %} + {% for command, description in global_commands %} + <option value="{{ command }}">{{ description }}</option> + {% endfor %} + </param> <param name="del_print" type="boolean" gui-text="Remove Print Settings from SVG metadata">false</param> <param name="extension" type="string" gui-hidden="true">remove_embroidery_settings</param> <effect> |
