mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-03 02:36:50 +13:00
Only show customized task settings in Workflow;
Otherwise it is no different from accessing through Capture menu
This commit is contained in:
parent
24a066600c
commit
399631c2b5
1 changed files with 6 additions and 3 deletions
|
@ -115,9 +115,12 @@ private void UpdateWorkflowsMenu()
|
|||
tsddbWorkflows.DropDownItems.Clear();
|
||||
Program.HotkeyManager.Hotkeys.ForEach<HotkeySettings>(x =>
|
||||
{
|
||||
ToolStripMenuItem tsmi = new ToolStripMenuItem(x.TaskSettings.Description);
|
||||
tsmi.Click += (sender, e) => HandleHotkeys(x);
|
||||
tsddbWorkflows.DropDownItems.Add(tsmi);
|
||||
if (!x.TaskSettings.IsUsingDefaultSettings)
|
||||
{
|
||||
ToolStripMenuItem tsmi = new ToolStripMenuItem(x.TaskSettings.Description);
|
||||
tsmi.Click += (sender, e) => HandleHotkeys(x);
|
||||
tsddbWorkflows.DropDownItems.Add(tsmi);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue