diff options
| author | Adrien Tétar | 2015-09-26 14:28:45 +0200 | 
|---|---|---|
| committer | Adrien Tétar | 2015-09-26 14:28:45 +0200 | 
| commit | 7f7444a49f07326cea31afece0a4c9c2a44a7726 (patch) | |
| tree | 0b3e36c7851526a129a6869a9013b3c81f1fd168 /Lib/defconQt/fontView.py | |
| parent | 6bc7a3b1aa0775b63fd72f797c8c0e39f5db9856 (diff) | |
| download | trufont-7f7444a49f07326cea31afece0a4c9c2a44a7726.tar.bz2 | |
fontView: add glyphs as template
Diffstat (limited to 'Lib/defconQt/fontView.py')
| -rw-r--r-- | Lib/defconQt/fontView.py | 5 | 
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 | 
