Fix progress bar not always shown during conversion.
This commit is contained in:
parent
4fa977347c
commit
2596e822bd
@ -98,7 +98,6 @@ func (v View) Main(
|
|||||||
|
|
||||||
v.w.SetContent(widget.NewCard("Конвертор видео файлов в mp4", "", container.NewVBox(form, conversionMessage, progress)))
|
v.w.SetContent(widget.NewCard("Конвертор видео файлов в mp4", "", container.NewVBox(form, conversionMessage, progress)))
|
||||||
form.Disable()
|
form.Disable()
|
||||||
progress.Hide()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
func (v View) getButtonFileVideoForConversion(form *widget.Form, progress *widget.ProgressBar, conversionMessage *canvas.Text) (*widget.Button, *canvas.Text, *File) {
|
func (v View) getButtonFileVideoForConversion(form *widget.Form, progress *widget.ProgressBar, conversionMessage *canvas.Text) (*widget.Button, *canvas.Text, *File) {
|
||||||
|
Loading…
Reference in New Issue
Block a user