chore: dofromgoroutine
This commit is contained in:
@@ -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("something went wrong while running the meshbook, see above for details")
|
||||||
}
|
}
|
||||||
log.Println(result)
|
log.Println(result)
|
||||||
|
|
||||||
|
fyne.CurrentApp().Driver().DoFromGoroutine(func() {
|
||||||
textEntry.SetText(result)
|
textEntry.SetText(result)
|
||||||
showBtn.Enable()
|
showBtn.Enable()
|
||||||
|
}, true)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user