summaryrefslogtreecommitdiff
path: root/click.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-02-05 02:22:58 -0600
committerJeff Carr <[email protected]>2024-02-05 02:22:58 -0600
commit2ee37e5c209f64a09d4088b8895880deb084d0ee (patch)
tree53de73862e9ccbdef981e90a4c09edf183d01e25 /click.go
parent8f9e47c11711b629ff7351c0626c85d3e8aa0979 (diff)
fixed errors in Show()
Signed-off-by: Jeff Carr <[email protected]>
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())