diff options
| author | Jeff Carr <[email protected]> | 2025-03-02 12:05:15 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-03-02 12:05:15 -0600 |
| commit | 3fb1d3ef70d6a82a8658866d9a14e13adbcf3104 (patch) | |
| tree | 2241b0655c8bfa7b2d5905f226dcf005c0d81978 /action.go | |
| parent | c502e7c5b60f9f90bd416d4d31c7d70def2c6c18 (diff) | |
fix enable/disable buttons
Diffstat (limited to 'action.go')
| -rw-r--r-- | action.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -97,8 +97,10 @@ func (me *TreeInfo) doAction(a widget.Action) { me.Hide(n) log.Info("tree: doing hide here on", a.WidgetId, n.WidgetType) case widget.Enable: + n.State.Enable = true me.Enable(n) case widget.Disable: + n.State.Enable = false me.Disable(n) case widget.Delete: if me.Hide == nil { |
