GOOD: read text from multi-line entrybox

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2021-11-04 02:48:41 -05:00
parent 2af6db4d6c
commit f615feaf81
1 changed files with 3 additions and 0 deletions

3
box.go
View File

@ -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 ""
}