diff --git a/hostname.go b/hostname.go index 1906079..afd8d0b 100644 --- a/hostname.go +++ b/hostname.go @@ -28,7 +28,9 @@ func getHostname() { if (me.fqdn != nil) { // s = me.fqdn.GetText() log("trying to update gui.Label") + me.fqdn.AddText(s) me.fqdn.SetText(s) + me.hostname = s } log("FQDN =", s) }