aboutsummaryrefslogtreecommitdiffstats
path: root/Lib/defconQt/fontView.py
diff options
context:
space:
mode:
authorAdrien Tétar2015-10-08 21:20:41 +0200
committerAdrien Tétar2015-10-08 21:20:41 +0200
commitf0ffdc1a606db8af02463f164017fdefa6e68819 (patch)
treed3818fb225a4ccb148618c2c43dddc6e19cadc56 /Lib/defconQt/fontView.py
parentc50cdece55f7aa324c395faf7a5b468369dfa70f (diff)
downloadtrufont-f0ffdc1a606db8af02463f164017fdefa6e68819.tar.bz2
meta: a few bug fixes with existing widgets
Diffstat (limited to 'Lib/defconQt/fontView.py')
-rw-r--r--Lib/defconQt/fontView.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/defconQt/fontView.py b/Lib/defconQt/fontView.py
index 0cf6dc2..23ac268 100644
--- a/Lib/defconQt/fontView.py
+++ b/Lib/defconQt/fontView.py
@@ -673,6 +673,8 @@ class MainWindow(QMainWindow):
if path is None and self.font.path is None:
self.saveFileAs()
else:
+ if path is None:
+ path = self.font.path
glyphs = self.collectionWidget.glyphs
# TODO: save sortDescriptor somewhere in lib as well
glyphNames = []