diff --git a/GBM/Forms/frmMain.Designer.vb b/GBM/Forms/frmMain.Designer.vb index ecf6174..096df0d 100644 --- a/GBM/Forms/frmMain.Designer.vb +++ b/GBM/Forms/frmMain.Designer.vb @@ -106,6 +106,7 @@ Partial Class frmMain Me.gMonTray.ContextMenuStrip = Me.gMonTrayMenu Me.gMonTray.Icon = CType(resources.GetObject("gMonTray.Icon"), System.Drawing.Icon) Me.gMonTray.Text = "GBM" + Me.gMonTray.Visible = True ' 'gMonTrayMenu ' diff --git a/GBM/Forms/frmMain.vb b/GBM/Forms/frmMain.vb index 368afb0..ea8ee6d 100644 --- a/GBM/Forms/frmMain.vb +++ b/GBM/Forms/frmMain.vb @@ -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