mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Do not show Workflows toolStrip button if there are no customized task settings
This commit is contained in:
parent
399631c2b5
commit
50728e89ee
2 changed files with 8 additions and 1 deletions
|
@ -1,4 +1,8 @@
|
|||
ShareX 9.0.0 - 2014-05-16
|
||||
ShareX 9.0.1
|
||||
|
||||
* Customized task settings are now shown as workflows in main window
|
||||
|
||||
ShareX 9.0.0 - 2014-05-16
|
||||
|
||||
* Capture screen recordings with audio using FFmpeg
|
||||
* Capture screen recordings using Video Compression Manager (VCM) via Video for Windows (VfW) encoders
|
||||
|
|
|
@ -113,6 +113,7 @@ private void InitControls()
|
|||
private void UpdateWorkflowsMenu()
|
||||
{
|
||||
tsddbWorkflows.DropDownItems.Clear();
|
||||
|
||||
Program.HotkeyManager.Hotkeys.ForEach<HotkeySettings>(x =>
|
||||
{
|
||||
if (!x.TaskSettings.IsUsingDefaultSettings)
|
||||
|
@ -122,6 +123,8 @@ private void UpdateWorkflowsMenu()
|
|||
tsddbWorkflows.DropDownItems.Add(tsmi);
|
||||
}
|
||||
});
|
||||
|
||||
tsddbWorkflows.Visible = tsddbWorkflows.DropDownItems.Count > 0;
|
||||
}
|
||||
|
||||
private void UpdateDestinationStates()
|
||||
|
|
Loading…
Reference in a new issue