forked from Leak_Technologies/VideoTools
Corrections made to queue system
This commit is contained in:
parent
0e4f4fb3af
commit
1c8d48e3fd
2
main.go
2
main.go
|
|
@ -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
BIN
videotools
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user