aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/glyphView.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt/glyphView.py')
-rw-r--r--Lib/defconQt/glyphView.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/defconQt/glyphView.py b/Lib/defconQt/glyphView.py
index 1e05a99..88073ae 100644
--- a/Lib/defconQt/glyphView.py
+++ b/Lib/defconQt/glyphView.py
@@ -1284,8 +1284,9 @@ class GlyphView(QGraphicsView):
scene._outlineItem.setZValue(-995)
scene._glyphObject = self._glyph
# components
- path = self._glyph.getRepresentation("defconQt.OnlyComponentsQPainterPath")
- scene.addPath(path, brush=QBrush(componentFillColor))
+ paths = self._glyph.getRepresentation("defconQt.OnlyComponentsQPainterPath")
+ for path in paths:
+ scene.addPath(path, brush=QBrush(componentFillColor))
def addPoints(self):
scene = self.scene()