aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/fontView.py
diff options
context:
space:
mode:
authorAdrien Tétar2015-09-26 14:28:45 +0200
committerAdrien Tétar2015-09-26 14:28:45 +0200
commit7f7444a49f07326cea31afece0a4c9c2a44a7726 (patch)
tree0b3e36c7851526a129a6869a9013b3c81f1fd168 /Lib/defconQt/fontView.py
parent6bc7a3b1aa0775b63fd72f797c8c0e39f5db9856 (diff)
downloadtrufont-7f7444a49f07326cea31afece0a4c9c2a44a7726.tar.bz2
fontView: add glyphs as template
Diffstat (limited to 'Lib/defconQt/fontView.py')
-rw-r--r--Lib/defconQt/fontView.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Lib/defconQt/fontView.py b/Lib/defconQt/fontView.py
index 37dc106..86ae719 100644
--- a/Lib/defconQt/fontView.py
+++ b/Lib/defconQt/fontView.py
@@ -598,7 +598,10 @@ class MainWindow(QMainWindow):
if ok:
for name in newGlyphNames:
self.newStandardGlyph(name)
- glyphs.append(self.font[name])
+ glyph = self.font[name]
+ # XXX: consider making this parametrizable in the dialog
+ glyph.template = True
+ glyphs.append(glyph)
self.collectionWidget.glyphs = glyphs
if sortFont:
# kick-in the sort mechanism