summaryrefslogtreecommitdiff
path: root/text.go
diff options
context:
space:
mode:
Diffstat (limited to 'text.go')
-rw-r--r--text.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/text.go b/text.go
index 169f3ec..9603bff 100644
--- a/text.go
+++ b/text.go
@@ -18,7 +18,9 @@ func (n *Node) NewLabel(text string) *Node {
}
func (n *Node) SetText(str string) bool {
- log.Println("gui.SetText() value =", str)
+ if (Config.Options.DebugChange) {
+ log.Println("gui.SetText() value =", str)
+ }
if (n.toolkit == nil) {
return false
}