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:
parent
ebf71a3214
commit
03e036be51
4
main.go
4
main.go
|
|
@ -6628,6 +6628,10 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
||||||
if !state.convert.UseAutoNaming {
|
if !state.convert.UseAutoNaming {
|
||||||
applyAutoName(false)
|
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
|
appendSuffixCheck.Checked = state.convert.AppendSuffix
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user