diff options
author | Nick White <git@njw.name> | 2021-11-23 11:01:17 +0000 |
---|---|---|
committer | Nick White <git@njw.name> | 2021-11-23 11:01:17 +0000 |
commit | ecc7e3e9e49d58c9bc22784a96279c4d5ba814a2 (patch) | |
tree | 9576b315dab658cdaaa8de19f500a6a344b0c10d /cmd/rescribe/gui.go | |
parent | d4e90332b1ac2d2cd06ad2fe1c0fcdfc0b690e99 (diff) |
gofmt, plus update documentation of recently changed pipeline.UploadImages
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 == "" { |