summaryrefslogtreecommitdiff
path: root/lib/extensions/params.py
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2021-03-11 20:34:29 -0500
committerLex Neva <github.com@lexneva.name>2021-03-11 20:34:29 -0500
commitf1265801b4647216f4bb572c474ebe2365fff26c (patch)
tree6fe76a5119a5453d5d2a655d9d0e0e6e3057a0b0 /lib/extensions/params.py
parent5edae9fe75ce577e11bd172b5ecc9b8689b0a311 (diff)
fix two issues with node classification
Diffstat (limited to 'lib/extensions/params.py')
-rw-r--r--lib/extensions/params.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/extensions/params.py b/lib/extensions/params.py
index 910941fe..71d8339f 100644
--- a/lib/extensions/params.py
+++ b/lib/extensions/params.py
@@ -9,7 +9,7 @@ from itertools import groupby
import wx
from wx.lib.scrolledpanel import ScrolledPanel
-from ..commands import is_command
+from ..commands import is_command, is_command_symbol
from ..elements import (AutoFill, Clone, EmbroideryElement, Fill, Polyline,
SatinColumn, Stroke)
from ..elements.clone import is_clone
@@ -466,7 +466,7 @@ class Params(InkstitchExtension):
element = EmbroideryElement(node)
classes = []
- if not is_command(node):
+ if not is_command(node) and not is_command_symbol(node):
if node.tag == SVG_POLYLINE_TAG:
classes.append(Polyline)
elif is_clone(node):