From bddffbe7e884bd489837164f03613b1c33322616 Mon Sep 17 00:00:00 2001 From: Jaex Date: Sun, 14 May 2017 02:38:17 +0300 Subject: [PATCH] #2499: Also respect DisableNotifications option --- ShareX/TaskHelpers.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ShareX/TaskHelpers.cs b/ShareX/TaskHelpers.cs index 6ba0ad100..06082f3a3 100644 --- a/ShareX/TaskHelpers.cs +++ b/ShareX/TaskHelpers.cs @@ -682,9 +682,11 @@ public static void OpenScreenColorPicker(TaskSettings taskSettings = null) { Program.MainForm.niTray.Tag = null; - //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); + if (!taskSettings.AdvancedSettings.DisableNotifications && taskSettings.GeneralSettings.PopUpNotification != PopUpNotificationType.None) + { + Program.MainForm.niTray.ShowBalloonTip(3000, "ShareX", + string.Format(Resources.TaskHelpers_OpenQuickScreenColorPicker_Copied_to_clipboard___0_, text), ToolTipIcon.Info); + } } } }