aboutsummaryrefslogtreecommitdiffstats
path: root/systray.go
diff options
context:
space:
mode:
authorOx Cart2017-09-11 21:18:05 -0500
committerOx Cart2017-09-11 21:18:05 -0500
commit3554930085aef7d8668124c205caf423bc4cdeef (patch)
tree69c8713a5417e18509b70d7df321661e4484f0f9 /systray.go
parent52599be7ec432dbbe03cb2cc94b4831e2395873c (diff)
downloadsystray-3554930085aef7d8668124c205caf423bc4cdeef.tar.bz2
Added hide/show for Windows
Diffstat (limited to 'systray.go')
-rw-r--r--systray.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/systray.go b/systray.go
index a55afb1..7fc72df 100644
--- a/systray.go
+++ b/systray.go
@@ -46,7 +46,7 @@ var (
menuItems = make(map[int32]*MenuItem)
menuItemsLock sync.RWMutex
- currentID int32
+ currentID = int32(-1)
)
// Run initializes GUI and starts the event loop, then invokes the onReady