Corrections made to queue system

This commit is contained in:
Stu Leak 2025-11-27 00:17:59 -05:00
parent 0e4f4fb3af
commit 1c8d48e3fd
2 changed files with 2 additions and 0 deletions

View File

@ -1916,6 +1916,7 @@ func buildVideoPane(state *appState, min fyne.Size, src *videoSource, onCover fu
open := widget.NewButton("Open File…", func() {
logging.Debug(logging.CatUI, "convert open file dialog requested")
// Use custom file dialog that supports multiple selection
dlg := dialog.NewFileOpen(func(r fyne.URIReadCloser, err error) {
if err != nil {
logging.Debug(logging.CatUI, "file open error: %v", err)
@ -1924,6 +1925,7 @@ func buildVideoPane(state *appState, min fyne.Size, src *videoSource, onCover fu
if r == nil {
return
}
// Single file selection via NewFileOpen
path := r.URI().Path()
r.Close()
go state.loadVideo(path)

BIN
videotools Executable file

Binary file not shown.