-
-
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 disables cycling from the recipient box (Stream/To) using arrow keys if recipient is invalid, similar to Tab. Cycling through the MessageBox now looks for arrow key events and checks for recipient name's validity when losing focus from the recipient box. 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 the recipients box to some other box, according to our current MessageBox layout. Tests amended. Fixes #779.
- Loading branch information
Showing
2 changed files
with
191 additions
and
49 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
Oops, something went wrong.