mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
enhance: clear unhandled key modifer before running command (#748)
This commit is contained in:
parent
1872148d98
commit
e224f59ea7
2 changed files with 18 additions and 2 deletions
|
@ -72,6 +72,11 @@ namespace SourceGit.Views
|
|||
return _unhandledModifiers.HasFlag(modifier);
|
||||
}
|
||||
|
||||
public void ClearKeyModifier()
|
||||
{
|
||||
_unhandledModifiers = KeyModifiers.None;
|
||||
}
|
||||
|
||||
protected override void OnOpened(EventArgs e)
|
||||
{
|
||||
base.OnOpened(e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue