Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #50 from PaavoTramm/master
Browse files Browse the repository at this point in the history
Avoid consuming F2 when name editing is disabled
  • Loading branch information
ygoe authored Mar 18, 2020
2 parents 3986121 + b57a925 commit 8dadce5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MultiSelectTreeView/Controls/MultiSelectTreeViewItem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -592,8 +592,8 @@ protected override void OnKeyDown(KeyEventArgs e)
if (ParentTreeView.AllowEditItems && ContentTemplateEdit != null && IsFocused && IsEditable)
{
IsEditing = true;
e.Handled = true;
}
e.Handled = true;
break;
case Key.Escape:
StopEditing();
Expand Down

0 comments on commit 8dadce5

Please sign in to comment.