Change c.Visit(u) call to blocking, from goroutine

This commit is contained in:
asdf 2019-11-27 18:37:39 +11:00
parent 76cf3da4ae
commit 67293823e0
1 changed files with 2 additions and 2 deletions

View File

@ -414,7 +414,7 @@ func (c *client) doCommandAs(action string, values []string) {
c.SetMessage("Cannot set READ ONLY setting 'configlocation'", true)
c.DrawMessage()
return
}
}
err := saveConfig()
if err != nil {
c.SetMessage("Value set, but error saving config to file", true)
@ -817,7 +817,7 @@ func (c *client) goToURL(u string) {
return
}
go c.Visit(u)
c.Visit(u)
}
func (c *client) goToLink(l string) {