diff options
Diffstat (limited to 'treeAdd.go')
| -rw-r--r-- | treeAdd.go | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -67,7 +67,12 @@ func addWidget(n *tree.Node) { tk.color = &colorTab return case widget.Button: - tk.setColorButton() + if tk.node.IsEnabled() { + tk.setColorButton() + } else { + tk.setColorButton() + tk.setColorDisable() + } return case widget.Checkbox: tk.setColorInput() |
