Update home path and fix wrong setting fix for scene and chapter count on welcome dialog

This commit is contained in:
Veronica Berglyd Olsen
2024-04-13 00:13:20 +02:00
parent 4b5383f1c7
commit afd4aa5d1f
4 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -190,7 +190,7 @@ class GuiWordList(QDialog):
))
ffilter = formatFileFilter(["*.txt", "*"])
path, _ = QFileDialog.getOpenFileName(
self, self.tr("Import File"), str(Path.home()), filter=ffilter
self, self.tr("Import File"), str(CONFIG.homePath()), filter=ffilter
)
if path:
try:
@@ -207,7 +207,7 @@ class GuiWordList(QDialog):
def _exportWords(self) -> None:
"""Export words to file."""
path, _ = QFileDialog.getSaveFileName(
self, self.tr("Export File"), str(Path.home())
self, self.tr("Export File"), str(CONFIG.homePath())
)
if path:
try: