Fix merge drag/drop build error
This commit is contained in:
parent
66f57da8ad
commit
c8398dd966
3
main.go
3
main.go
|
|
@ -1569,6 +1569,7 @@ func (s *appState) showMergeView() {
|
||||||
bottomBar := ui.TintedBar(mergeColor, container.NewHBox(layout.NewSpacer()))
|
bottomBar := ui.TintedBar(mergeColor, container.NewHBox(layout.NewSpacer()))
|
||||||
|
|
||||||
listBox := container.NewVBox()
|
listBox := container.NewVBox()
|
||||||
|
var addFiles func([]string)
|
||||||
|
|
||||||
var buildList func()
|
var buildList func()
|
||||||
buildList = func() {
|
buildList = func() {
|
||||||
|
|
@ -1631,7 +1632,7 @@ func (s *appState) showMergeView() {
|
||||||
listBox.Refresh()
|
listBox.Refresh()
|
||||||
}
|
}
|
||||||
|
|
||||||
addFiles := func(paths []string) {
|
addFiles = func(paths []string) {
|
||||||
for _, p := range paths {
|
for _, p := range paths {
|
||||||
src, err := probeVideo(p)
|
src, err := probeVideo(p)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user