mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
#2499: Also respect DisableNotifications option
This commit is contained in:
parent
c8f9526ce7
commit
bddffbe7e8
1 changed files with 5 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue