From 7f7444a49f07326cea31afece0a4c9c2a44a7726 Mon Sep 17 00:00:00 2001 From: Adrien Tétar Date: Sat, 26 Sep 2015 14:28:45 +0200 Subject: fontView: add glyphs as template --- Lib/defconQt/fontView.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Lib/defconQt/fontView.py') 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 -- cgit v1.2.3