summaryrefslogtreecommitdiff
path: root/internal/gui
diff options
context:
space:
mode:
Diffstat (limited to 'internal/gui')
-rw-r--r--internal/gui/app.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/gui/app.go b/internal/gui/app.go
index f776d9b..9374973 100644
--- a/internal/gui/app.go
+++ b/internal/gui/app.go
@@ -1203,7 +1203,7 @@ func (a *Application) onExportToAnki() {
// Update status bar instead of showing dialog
a.updateStatus(fmt.Sprintf("Exported %d cards to %s (%d with audio, %d with images)",
- total, outputPath, withAudio, withImages))
+ total, selectedDir, withAudio, withImages))
} else {
filename = "anki_import.csv"
outputPath = filepath.Join(selectedDir, filename)
@@ -1232,7 +1232,7 @@ func (a *Application) onExportToAnki() {
// Update status bar instead of showing dialog
a.updateStatus(fmt.Sprintf("Exported %d cards to %s (%d with audio, %d with images)",
- total, outputPath, withAudio, withImages))
+ total, selectedDir, withAudio, withImages))
}
}, a.window)