Fix merge drag/drop build error

This commit is contained in:
Stu Leak 2025-12-10 17:14:42 -05:00
parent 0221c04a4f
commit 91493d6ca9

View File

@ -1569,6 +1569,7 @@ func (s *appState) showMergeView() {
bottomBar := ui.TintedBar(mergeColor, container.NewHBox(layout.NewSpacer()))
listBox := container.NewVBox()
var addFiles func([]string)
var buildList func()
buildList = func() {
@ -1631,7 +1632,7 @@ func (s *appState) showMergeView() {
listBox.Refresh()
}
addFiles := func(paths []string) {
addFiles = func(paths []string) {
for _, p := range paths {
src, err := probeVideo(p)
if err != nil {