Set Context window should react to <Ctrl>+<Enter> shortcut for closing with applying changes
Reported by Nikolay Strelkov
BUG DESCRIPTION:
----------------
Dialog windows of some Xcos blocks may be closed by <Ctrl>+<Enter>.
For example 'scifunc_block_m'. It contains source code of the functions - so user can't move focus from text area to OK button with <Tab> (<Tab> is used for source code aligning).
But OK button may be pressed by <Ctrl>+<Enter> and it is good.
This functionality is missed in "Set Context" window.
ERROR LOG:
----------
none
HOW TO REPRODUCE THE BUG:
-------------------------
1. Create new Xcos model
2. Open "Set Context" window
3. Write some instructions (context) in textarea.
4. Try to close window with keyboard shortcut <Ctrl>+<Enter>
5. Window does not close (OK not pressed).
OTHER INFORMATION:
------------------
Expected result is as in 'scifunc_block_m' block - <Ctrl>+<Enter> apply changes and closes window.
It is feature request.