From 3554930085aef7d8668124c205caf423bc4cdeef Mon Sep 17 00:00:00 2001 From: Ox Cart Date: Mon, 11 Sep 2017 21:18:05 -0500 Subject: Added hide/show for Windows --- systray.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'systray.go') 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 -- cgit v1.2.3