Fix config reload and inspect status ticker build errors
This commit is contained in:
parent
3c5785c720
commit
4ad62b5d57
4
main.go
4
main.go
|
|
@ -3585,7 +3585,7 @@ func buildConvertView(state *appState, src *videoSource) fyne.CanvasObject {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
state.convert = cfg
|
state.convert = cfg
|
||||||
state.showConvertView()
|
state.showConvertView(state.source)
|
||||||
}, state.window)
|
}, state.window)
|
||||||
})
|
})
|
||||||
saveCfgBtn := widget.NewButton("Save Config", func() {
|
saveCfgBtn := widget.NewButton("Save Config", func() {
|
||||||
|
|
@ -7472,7 +7472,7 @@ func buildInspectView(state *appState) fyne.CanvasObject {
|
||||||
for range ticker.C {
|
for range ticker.C {
|
||||||
fyne.CurrentApp().Driver().DoFromGoroutine(func() {
|
fyne.CurrentApp().Driver().DoFromGoroutine(func() {
|
||||||
updateInspectStatus()
|
updateInspectStatus()
|
||||||
})
|
}, false)
|
||||||
// Optional stop condition could be added if needed
|
// Optional stop condition could be added if needed
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user