summaryrefslogtreecommitdiff
path: root/box.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2021-11-04 02:48:41 -0500
committerJeff Carr <[email protected]>2021-11-04 02:48:41 -0500
commit998e5c6c34fa43079153cb7f40b4daabe2ea10e9 (patch)
tree2b8691c7037bb0adc39f76bfdf6bf639145610f1 /box.go
parentff30a1acbb0e56c358f0490b0e89e8324268b032 (diff)
GOOD: read text from multi-line entrybox
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'box.go')
-rw-r--r--box.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/box.go b/box.go
index 5b4febe..67c0c05 100644
--- a/box.go
+++ b/box.go
@@ -42,6 +42,9 @@ func (n *Node) AddComboBox(title string, s ...string) *Node {
}
func (n *Node) GetText() string {
+ if (n.uiMultilineEntry != nil) {
+ return n.uiMultilineEntry.Text()
+ }
if (n.uiText == nil) {
return ""
}