Fix the application window being created when launched on startup. It should only launch to the tray.

This commit is contained in:
Glenn Maynard 2019-01-03 18:19:29 -06:00
parent def39becf9
commit 3d41d8ea15

View File

@ -64,7 +64,8 @@ namespace smx_config
CreateTrayIcon(); CreateTrayIcon();
// Create the main window. // Create the main window.
ToggleMainWindow(); if(!Helpers.LaunchedOnStartup())
ToggleMainWindow();
} }
// Open or close the main window. // Open or close the main window.