summaryrefslogtreecommitdiff
path: root/internal/gui
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-08-02 15:54:18 +0300
committerPaul Buetow <paul@buetow.org>2025-08-02 15:54:18 +0300
commitf8574d5ecf31021b1aee7fcb0c8b45c190bffead (patch)
tree77ee9a55771d496f1338017f4402f2c91f5f59e5 /internal/gui
parent0968c9e0df98580d628f06f7afe1764fd857fb17 (diff)
add timestamps to .apkg exports and num of cardsv0.7.5
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)