From f1265801b4647216f4bb572c474ebe2365fff26c Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Thu, 11 Mar 2021 20:34:29 -0500 Subject: fix two issues with node classification --- lib/extensions/params.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/extensions/params.py') 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): -- cgit v1.2.3