summaryrefslogtreecommitdiff
path: root/templates/remove_embroidery_settings.xml
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2023-09-03 13:00:23 +0200
committerGitHub <noreply@github.com>2023-09-03 13:00:23 +0200
commit7a2bad56ae3f5486276038632ca031dc29c92152 (patch)
tree60f5fac1a449c949344debf3bfc5558df7973f00 /templates/remove_embroidery_settings.xml
parent6a8ea6865192aa620f2f5df147c2f884ac08927e (diff)
remove specific commands only (#2494)
Diffstat (limited to 'templates/remove_embroidery_settings.xml')
-rw-r--r--templates/remove_embroidery_settings.xml17
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>