diff --git a/src/modules/draw/draw.go b/src/modules/draw/draw.go index 2774e57..297b374 100644 --- a/src/modules/draw/draw.go +++ b/src/modules/draw/draw.go @@ -84,8 +84,11 @@ func MakeFooter(targEntry *widget.Entry, book *string, app fyne.App) *fyne.Conta log.Println("something went wrong while running the meshbook, see above for details") } log.Println(result) - textEntry.SetText(result) - showBtn.Enable() + + fyne.CurrentApp().Driver().DoFromGoroutine(func() { + textEntry.SetText(result) + showBtn.Enable() + }, true) }() })