Check ctrl key for shortcuts
This commit is contained in:
parent
ff8b6bccc8
commit
8a89bce579
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user