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:
parent
a862f3449a
commit
0d65a383b2
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