Sometimes the progressbar is not displayed, so I decided not to hide it.
This commit is contained in:
parent
fc38a1b20c
commit
9bb19a0263
@ -127,7 +127,8 @@ func (v View) getButtonFileVideoForConversion(form *widget.Form, progress *widge
|
||||
setStringSuccessStyle(fileVideoForConversionMessage)
|
||||
|
||||
form.Enable()
|
||||
progress.Hide()
|
||||
progress.Value = 0
|
||||
progress.Refresh()
|
||||
conversionMessage.Text = ""
|
||||
}, v.w)
|
||||
fileDialog.Show()
|
||||
|
@ -153,7 +153,6 @@ func (p progress) Run(stdOut io.ReadCloser, stdErr io.ReadCloser) error {
|
||||
|
||||
p.progressbar.Value = 0
|
||||
p.progressbar.Max = p.totalDuration
|
||||
p.progressbar.Show()
|
||||
p.progressbar.Refresh()
|
||||
|
||||
progress := 0.0
|
||||
|
Loading…
Reference in New Issue
Block a user