Screen color picker notifications

Fix #2499 
Balloon notification for color picker copied to clipboard will not show if no notifications is set in settings
This commit is contained in:
AKTheKnight 2017-05-13 11:12:34 +01:00
parent f1a5f77ccc
commit 8dd1a5e6c8

View file

@ -681,7 +681,10 @@ public static void OpenScreenColorPicker(TaskSettings taskSettings = null)
if (Program.MainForm.niTray.Visible)
{
Program.MainForm.niTray.Tag = null;
Program.MainForm.niTray.ShowBalloonTip(3000, "ShareX", string.Format(Resources.TaskHelpers_OpenQuickScreenColorPicker_Copied_to_clipboard___0_, text), ToolTipIcon.Info);
//Only show the balloon notification if BalloonTip is selected in settings
if (taskSettings.GeneralSettings.PopUpNotification != PopUpNotificationType.None)
Program.MainForm.niTray.ShowBalloonTip(3000, "ShareX", string.Format(Resources.TaskHelpers_OpenQuickScreenColorPicker_Copied_to_clipboard___0_, text), ToolTipIcon.Info);
}
}
}