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
This commit is contained in:
Stu Leak 2025-12-30 16:06:10 -05:00
parent a862f3449a
commit 0d65a383b2

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