diff options
Diffstat (limited to 'cmd/rescribe/gui.go')
-rw-r--r-- | cmd/rescribe/gui.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cmd/rescribe/gui.go b/cmd/rescribe/gui.go index 4944e42..654d875 100644 --- a/cmd/rescribe/gui.go +++ b/cmd/rescribe/gui.go @@ -12,7 +12,7 @@ import ( "os" "path/filepath" "strings" - + "fyne.io/fyne/v2" "fyne.io/fyne/v2/app" "fyne.io/fyne/v2/container" @@ -80,14 +80,14 @@ func startGui(log log.Logger, cmd string, training string, systess bool, tessdir if err == nil && uri != nil { dir.SetText(uri.Path()) } - }, myWindow)}) + }, myWindow) + }) progressBar := widget.NewProgressBar() logarea := widget.NewMultiLineEntry() logarea.Disable() - // TODO: have the button be pressed if enter is pressed gobtn = widget.NewButtonWithIcon("Process OCR", theme.UploadIcon(), func() { if dir.Text == "" { |