Don't set icon for shape manager menu

This commit is contained in:
Jaex 2019-06-24 21:17:33 +03:00
parent ad5173241f
commit c4d36a85d6
2 changed files with 6 additions and 3 deletions

View file

@ -64,9 +64,12 @@ public static string UserAgent
public static int CheckerSize { get; } = 15;
public static void ApplyThemeToForm(Form form)
public static void ApplyThemeToForm(Form form, bool setIcon = true)
{
form.Icon = Icon;
if (setIcon)
{
form.Icon = Icon;
}
if (ApplyTheme)
{

View file

@ -1050,7 +1050,7 @@ internal void CreateToolbar()
tsMain.PerformLayout();
menuForm.ResumeLayout(false);
ShareXResources.ApplyThemeToForm(menuForm);
ShareXResources.ApplyThemeToForm(menuForm, false);
menuForm.Show(Form);