From 91493d6ca986b9450b243a798aafa9457eeb869e Mon Sep 17 00:00:00 2001 From: Stu Leak Date: Wed, 10 Dec 2025 17:14:42 -0500 Subject: [PATCH] Fix merge drag/drop build error --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 9f69adf..51fd71d 100644 --- a/main.go +++ b/main.go @@ -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 {