diff options
| author | Adrien Tétar | 2015-11-06 17:36:37 +0100 | 
|---|---|---|
| committer | Adrien Tétar | 2015-11-06 17:36:37 +0100 | 
| commit | fd19b960d694dc1f12aaa9b4eaebe2cda6513a14 (patch) | |
| tree | 9ce5147f42785474f9d2007154bc74534e928a02 /Lib/defconQt/fontView.py | |
| parent | 2229c660a3375281a61e6adab834c4b33139159f (diff) | |
| download | trufont-fd19b960d694dc1f12aaa9b4eaebe2cda6513a14.tar.bz2 | |
fontView: fix importFromCurrentFont
Diffstat (limited to 'Lib/defconQt/fontView.py')
| -rw-r--r-- | Lib/defconQt/fontView.py | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/Lib/defconQt/fontView.py b/Lib/defconQt/fontView.py index bef5263..393615d 100644 --- a/Lib/defconQt/fontView.py +++ b/Lib/defconQt/fontView.py @@ -1384,7 +1384,7 @@ class GlyphSetTab(QWidget):          del self.glyphSets[self._cachedName]      def importFromCurrentFont(self): -        currentMainWindow = QApplication.instance().currentMainWindow +        currentMainWindow = QApplication.instance().currentMainWindow()          glyphs = currentMainWindow.getGlyphs()          info = currentMainWindow.font.info          name = "%s %s" % (info.familyName, info.styleName) | 
