summaryrefslogtreecommitdiff
path: root/click.go
diff options
context:
space:
mode:
Diffstat (limited to 'click.go')
-rw-r--r--click.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/click.go b/click.go
index 431d27d..254d079 100644
--- a/click.go
+++ b/click.go
@@ -38,7 +38,7 @@ func (w *guiWidget) doWidgetClick() {
// now set this window as the current window
me.currentWindow = w
- w.isCurrent = true
+ me.currentWindow.isCurrent = true
// draw the current window
log.Log(NOW, "doWidgetClick() set currentWindow to", w.String())