aboutsummaryrefslogtreecommitdiffstats
path: root/systray.go
diff options
context:
space:
mode:
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