summaryrefslogtreecommitdiff
path: root/lib/extensions/troubleshoot.py
diff options
context:
space:
mode:
authorKaalleen <36401965+kaalleen@users.noreply.github.com>2021-07-21 17:25:11 +0200
committerGitHub <noreply@github.com>2021-07-21 17:25:11 +0200
commit36815f977d7236311e9b345c33fbc74390766385 (patch)
tree3827222bd0b18e985c6729fec5e6797bc86f8d80 /lib/extensions/troubleshoot.py
parent1f725f42bbd299b6e5192a5404471a4fd89ae7f8 (diff)
label hard to find troubleshoot objects (#1247)
Diffstat (limited to 'lib/extensions/troubleshoot.py')
-rw-r--r--lib/extensions/troubleshoot.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/extensions/troubleshoot.py b/lib/extensions/troubleshoot.py
index 39c68d86..8e37acc3 100644
--- a/lib/extensions/troubleshoot.py
+++ b/lib/extensions/troubleshoot.py
@@ -93,6 +93,8 @@ class Troubleshoot(InkstitchExtension):
tspan = etree.Element(SVG_TSPAN_TAG)
tspan.text = problem.name
+ if problem.label:
+ tspan.text += " (%s)" % problem.label
text.append(tspan)
def create_troubleshoot_layer(self):