-
-
Notifications
You must be signed in to change notification settings - Fork 250
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boxes: Disable cycling using arrow keys if recipient is invalid.
This commit diables cycling from the recipient box using arrow keys if recipient is invalid, similar to Tab. Cycling through the MessageBox now looks for arrow key events(right and down mainly) and checks for the recipient name's validity as well. This should prevent sending of messages to incorrect recipients. Currently, only RIGHT and DOWN keypress is monitored since these are the only keys that can cycle focus from recipients box to some other box, according to our current MessageBox layout. Tests amended. Fixes #779.
- Loading branch information
Showing
2 changed files
with
174 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters