summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/andlabs/structs.go')
-rw-r--r--toolkit/andlabs/structs.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolkit/andlabs/structs.go b/toolkit/andlabs/structs.go
index 374627c..9bba671 100644
--- a/toolkit/andlabs/structs.go
+++ b/toolkit/andlabs/structs.go
@@ -21,8 +21,10 @@ var DebugToolkit bool
func setDefaultBehavior(s bool) {
defaultBehavior = s
if (defaultBehavior) {
- log.Println("Setting this toolkit to use the default behavior.")
- log.Println("This is the 'guessing' part as defined by the wit/gui 'Principles'. Refer to the docs.")
+ if (DebugToolkit) {
+ log.Println("Setting this toolkit to use the default behavior.")
+ log.Println("This is the 'guessing' part as defined by the wit/gui 'Principles'. Refer to the docs.")
+ }
stretchy = false
padded = true
menubar = true