mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2025-01-18 14:31:50 +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;
|
||||
|
||||
// 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
|
||||
General.Actions.UpdateModifiers(mod);
|
||||
|
@ -4648,4 +4648,4 @@ namespace CodeImp.DoomBuilder.Windows
|
|||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue