Minor fixes to dialogs, partially related to macOS

This commit is contained in:
Veronica K. B. Olsen
2020-10-07 18:38:43 +02:00
parent 357a407116
commit 87baabeaa5
3 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -337,7 +337,7 @@ class GuiWritingStats(QDialog):
saveTo = QFileDialog.getSaveFileName(
self, "Save Document As", savePath, options=dlgOpt
)
if saveTo:
if saveTo[0]:
savePath = saveTo[0]
else:
return False