diff options
| author | Jeff Carr <[email protected]> | 2021-10-31 12:57:54 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2021-10-31 12:57:54 -0500 |
| commit | d38d60bcc38b6983e56283a16bc1a7c5b9c0e9ee (patch) | |
| tree | 53b489c9df4ea1784be0d626df1497b04183c9be /entry.go | |
| parent | ad3c3e8369ce6e62dbe9f8bacecf036d276dda8e (diff) | |
NODE: resurrect 'ssh' window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'entry.go')
| -rw-r--r-- | entry.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -42,11 +42,11 @@ func (b *GuiBox) GetText(name string) string { func (n *Node) SetText(value string) error { log.Println("gui.SetText() value =", value) - if (n.uiText == nil) { + if (n.uiText != nil) { n.uiText.SetText(value) return nil } - if (n.uiButton == nil) { + if (n.uiButton != nil) { n.uiButton.SetText(value) return nil } |
