summaryrefslogtreecommitdiff
path: root/entry.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-10-31 12:57:54 -0500
committerJeff Carr <[email protected]>2021-10-31 12:57:54 -0500
commitd38d60bcc38b6983e56283a16bc1a7c5b9c0e9ee (patch)
tree53b489c9df4ea1784be0d626df1497b04183c9be /entry.go
parentad3c3e8369ce6e62dbe9f8bacecf036d276dda8e (diff)
NODE: resurrect 'ssh' window
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'entry.go')
-rw-r--r--entry.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/entry.go b/entry.go
index c24fe50..c10b7d0 100644
--- a/entry.go
+++ b/entry.go
@@ -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
}