mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Added link to region capture keybinds page
This commit is contained in:
parent
3769cef12c
commit
4a30690a69
1 changed files with 22 additions and 0 deletions
|
@ -927,6 +927,28 @@ internal void CreateToolbar()
|
|||
tsddbOptions.DropDownItems.Add(tsmiRememberMenuState);
|
||||
}
|
||||
|
||||
tsddbOptions.DropDownItems.Add(new ToolStripSeparator());
|
||||
|
||||
ToolStripMenuItem tsmiKeybinds = new ToolStripMenuItem("Open keybinds web page...");
|
||||
tsmiKeybinds.Click += (sender, e) =>
|
||||
{
|
||||
if (Form.IsFullscreen)
|
||||
{
|
||||
if (MessageBox.Show(Form, "This window will close before opening the keybinds web page. Do you want to continue?",
|
||||
"ShareX", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
|
||||
{
|
||||
Form.CloseWindow();
|
||||
}
|
||||
else
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
URLHelpers.OpenURL("https://getsharex.com/docs/region-capture");
|
||||
};
|
||||
tsddbOptions.DropDownItems.Add(tsmiKeybinds);
|
||||
|
||||
#endregion Options
|
||||
|
||||
if (Form.IsFullscreen)
|
||||
|
|
Loading…
Reference in a new issue