Fix suffix checkbox to regenerate name from source instead of keeping existing value
This commit is contained in:
parent
4f74d5b2b2
commit
4a58a22b81
3
main.go
3
main.go
|
|
@ -6626,7 +6626,8 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
|||
appendSuffixCheck := widget.NewCheck("Append \"-convert\" to filename", func(checked bool) {
|
||||
state.convert.AppendSuffix = checked
|
||||
// Recalculate and update the output base to reflect the suffix change
|
||||
newBase := state.resolveOutputBase(src, !state.convert.UseAutoNaming)
|
||||
// Always pass false for keepExisting to regenerate from source
|
||||
newBase := state.resolveOutputBase(src, false)
|
||||
updatingOutput = true
|
||||
state.convert.OutputBase = newBase
|
||||
outputEntry.SetText(newBase)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user