1
0
mirror of synced 2024-11-12 02:00:50 +01:00

Check ctrl key for shortcuts

This commit is contained in:
KillzXGaming 2019-07-14 12:51:51 -04:00
parent ff8b6bccc8
commit 8a89bce579
4 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -566,7 +566,7 @@ namespace Switch_Toolbox.Library.Forms
private void treeViewCustom1_KeyPress(object sender, KeyEventArgs e)
{
if (treeViewCustom1.SelectedNode != null && treeViewCustom1.SelectedNode is IContextMenuNode)
if (treeViewCustom1.SelectedNode != null && e.KeyData.HasFlag(Keys.ControlKey) && treeViewCustom1.SelectedNode is IContextMenuNode)
{
IContextMenuNode node = (IContextMenuNode)treeViewCustom1.SelectedNode;