summaryrefslogtreecommitdiff
path: root/eventMouseClick.go
diff options
context:
space:
mode:
Diffstat (limited to 'eventMouseClick.go')
-rw-r--r--eventMouseClick.go13
1 files changed, 0 insertions, 13 deletions
diff --git a/eventMouseClick.go b/eventMouseClick.go
index 5990f27..a04c992 100644
--- a/eventMouseClick.go
+++ b/eventMouseClick.go
@@ -20,7 +20,6 @@ func (tk *guiWidget) doWindowClick(w int, h int) {
// now set this window as the current window
me.currentWindow = tk
me.currentWindow.isCurrent = true
- tk.active = false
tk.redrawWindow(w, h)
setThingsOnTop() // sets help, Stdout, etc on the top after windows have been redrawn
@@ -35,18 +34,6 @@ func (tk *guiWidget) doWidgetClick(w int, h int) {
tk.doWindowClick(w, h)
return
case widget.Group:
- /*
- if tk.active {
- tk.active = false
- tk.placeWidgets(tk.startW, tk.startH)
- tk.showWidgets()
- } else {
- tk.active = true
- for _, child := range tk.children {
- child.hideWidgets()
- }
- }
- */
case widget.Checkbox:
if tk.node.State.Checked {
log.Log(WARN, "checkbox is being set to false")