aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/glyphCollectionView.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/defconQt/glyphCollectionView.py')
-rw-r--r--Lib/defconQt/glyphCollectionView.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/defconQt/glyphCollectionView.py b/Lib/defconQt/glyphCollectionView.py
index e49b32a..df4a305 100644
--- a/Lib/defconQt/glyphCollectionView.py
+++ b/Lib/defconQt/glyphCollectionView.py
@@ -365,6 +365,11 @@ class GlyphCollectionWidget(QWidget):
painter.translate(column * self.squareSize + x_offset, row * self.squareSize + self.squareSize + y_offset)
painter.scale(factor, -factor)
painter.fillPath(outline, Qt.black)
+ try:
+ for ref in glyph.refs:
+ painter.fillPath(ref.getRepresentation("defconQt.QPainterPath"), Qt.black)
+ except:
+ pass
painter.restore()
else:
painter.save()