Merge pull request #2512 from AKTheKnight/master

Screen color picker notifications
This commit is contained in:
Jaex 2017-05-13 22:21:06 +03:00 committed by GitHub
commit 94a585a673

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);
}
}
}