mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-02 18:26:27 +13:00
Instead of disabling not logged in uploaders, allow them to be selectable but instead use red text, that way ShareX can automatically open destination settings window with correct tab selected and let users log in
This commit is contained in:
parent
f2f62e7ffd
commit
d4598ce711
1 changed files with 2 additions and 1 deletions
|
@ -537,7 +537,8 @@ private void EnableDisableToolStripMenuItems<T>(params ToolStripDropDownItem[] p
|
|||
{
|
||||
for (int i = 0; i < parent.DropDownItems.Count; i++)
|
||||
{
|
||||
parent.DropDownItems[i].Enabled = UploadersConfigValidator.Validate<T>(i, Program.UploadersConfig);
|
||||
parent.DropDownItems[i].ForeColor = UploadersConfigValidator.Validate<T>(i, Program.UploadersConfig) ?
|
||||
SystemColors.ControlText : Color.FromArgb(200, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue