Update output filename preview in real-time when toggling suffix

- Output hint now updates immediately when checking/unchecking suffix checkbox
- User can see "video.mp4" vs "video-convert.mp4" change live
- Improves UX by providing instant visual feedback

Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Stu Leak 2025-12-30 16:06:10 -05:00
parent ebf71a3214
commit 03e036be51

View File

@ -6628,6 +6628,10 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
if !state.convert.UseAutoNaming {
applyAutoName(false)
}
// Update output hint to show the change immediately
if outputHint != nil {
outputHint.SetText(fmt.Sprintf("Output file: %s", state.convert.OutputFile()))
}
})
appendSuffixCheck.Checked = state.convert.AppendSuffix