From 067b28b7e71af12843d1b1a1968b63a37bc4ad86 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 5 Nov 2024 01:41:44 -0600 Subject: updates for v0.22 gui changes --- common.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'common.go') diff --git a/common.go b/common.go index 8d7f8c6..6241b12 100644 --- a/common.go +++ b/common.go @@ -201,6 +201,12 @@ myButton = myGroup.NewButton("hit ball", nil).SetName("HIT") myButton.GetName() should return "HIT" n = Find("HIT") should return myButton */ +// switch to this +// todo: there are better ways than any of this once protobuf +func (n *Node) SetRefName(s string) *Node { + return n.SetProgName(s) +} + func (n *Node) SetProgName(s string) *Node { if !n.Ready() { return n @@ -335,7 +341,6 @@ func (n *Node) Ready() bool { panic("ready got nil") // TODO: figure out if you can identify the code trace // to help find the root cause - return false } return true } -- cgit v1.2.3