Possible fix for randomly missing tray icon during startup

This commit is contained in:
Michael J. Seiferling
2019-03-18 14:49:04 -06:00
parent 1c5cbc3a93
commit 02c2aeff67
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -2185,12 +2185,12 @@ Public Class frmMain
'Windows and Linux require different settings for the system tray
If mgrCommon.IsUnix Then
Me.gMonTray.Visible = False
Me.MinimizeBox = True
If oSettings.StartToTray Then
Me.WindowState = FormWindowState.Minimized
End If
Else
Me.gMonTray.Visible = True
If oSettings.StartToTray Then
bShowToggle = False
Me.Visible = False