mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 22:41:46 +00:00
Ignore Keys.None event (#537)
Such an event invokes every unbound action.
This commit is contained in:
parent
5addd6508c
commit
feef304423
1 changed files with 2 additions and 2 deletions
|
@ -1414,7 +1414,7 @@ namespace CodeImp.DoomBuilder.Windows
|
||||||
if(ctrl) mod |= (int)Keys.Control;
|
if(ctrl) mod |= (int)Keys.Control;
|
||||||
|
|
||||||
// Don't process any keys when they are meant for other input controls
|
// Don't process any keys when they are meant for other input controls
|
||||||
if((ActiveControl == null) || (ActiveControl == display))
|
if((e.KeyData != Keys.None) && ((ActiveControl == null) || (ActiveControl == display)))
|
||||||
{
|
{
|
||||||
// Invoke any actions associated with this key
|
// Invoke any actions associated with this key
|
||||||
General.Actions.UpdateModifiers(mod);
|
General.Actions.UpdateModifiers(mod);
|
||||||
|
|
Loading…
Reference in a new issue