summaryrefslogtreecommitdiff
path: root/setText.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-07 08:47:06 -0600
committerJeff Carr <[email protected]>2024-02-07 08:47:06 -0600
commit2d0c73f58e68d34cbd2ab85ba82507d159da28de (patch)
treeeed9475503049dfb1176fe12c4c07f0b94337cda /setText.go
parent2aed14a60cbb9208f8f9a507c83a3dd297a93640 (diff)
use internal log flagsv0.20.1
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'setText.go')
-rw-r--r--setText.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/setText.go b/setText.go
index 6194351..a3f7de9 100644
--- a/setText.go
+++ b/setText.go
@@ -51,8 +51,15 @@ func (n *Node) SetText(text string) *Node {
n.label = text
case widget.Combobox:
n.newString = text
+ n.currentS = text
+ n.defaultS = text
case widget.Dropdown:
n.newString = text
+ n.currentS = text
+ n.defaultS = text
+ case widget.Textbox:
+ n.currentS = text
+ n.defaultS = text
case widget.Window:
n.label = text
default: