diff options
| author | Denis Jacquerye | 2015-10-11 15:48:25 +0200 | 
|---|---|---|
| committer | Adrien Tétar | 2015-10-12 20:37:53 +0200 | 
| commit | f2a7939bf98871d86e74f835e21427fef153275e (patch) | |
| tree | 9211292c9b10b457b2da2c290dec55b049490e7c /Lib/defconQt/fontView.py | |
| parent | 19aab2d0ad7c546cad6bc31bf4f1ea4b211918bd (diff) | |
| download | trufont-f2a7939bf98871d86e74f835e21427fef153275e.tar.bz2 | |
fontView: Do not reload when font.path is not defined
Diffstat (limited to 'Lib/defconQt/fontView.py')
| -rw-r--r-- | Lib/defconQt/fontView.py | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/Lib/defconQt/fontView.py b/Lib/defconQt/fontView.py index 3e43bcb..a3b2520 100644 --- a/Lib/defconQt/fontView.py +++ b/Lib/defconQt/fontView.py @@ -824,6 +824,8 @@ class MainWindow(QMainWindow):      def reload(self):          font = self._font +        if font.path is None: +            return          font.reloadInfo()          font.reloadKerning()          font.reloadGroups() | 
