diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-18 15:13:29 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-18 15:13:29 +0300 |
| commit | 93500a6d9a237c3a78a73d552c17583938672a59 (patch) | |
| tree | 99a16d84877ea7753db7350df4c1b60bf14467c1 /internal/gui | |
| parent | 1b3228d4c93f5951a1d6cc0e77a364c3dde3e625 (diff) | |
fix: improve APKG export functionalityv0.4.0
- Fix Anki import errors by adding missing deck fields (newToday, revToday, etc.)
- Fix media files not displaying/playing by using original filenames in cards
- Add phonetic information to notes field with proper line breaks
- Add 'e' hotkey for quick APKG export
- Increment version to 0.4.0
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'internal/gui')
| -rw-r--r-- | internal/gui/app.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/internal/gui/app.go b/internal/gui/app.go index b84a917..4a392ed 100644 --- a/internal/gui/app.go +++ b/internal/gui/app.go @@ -334,7 +334,7 @@ func (a *Application) setupUI() { // Create menu fileMenu := fyne.NewMenu("File", - fyne.NewMenuItem("Export to Anki...", a.onExportToAnki), + fyne.NewMenuItem("Export to Anki... (E)", a.onExportToAnki), fyne.NewMenuItemSeparator(), fyne.NewMenuItem("Preferences...", a.onPreferences), fyne.NewMenuItemSeparator(), @@ -1439,6 +1439,9 @@ func (a *Application) handleShortcutKey(key fyne.KeyName) { if a.currentAudioFile != "" { a.audioPlayer.Play() } + + case fyne.KeyE: // Export to APKG + a.onExportToAnki() } } |
