Fix awkwardness of Enter key in string picker
Search field starts out hidden. When the button is clicked, the field and other controls appear, and the button takes over the enter key. Ctrl+Enter clicks okay (so if search is not opened, either Enter OR Ctrl+Enter will click okay)
This commit is contained in:
@@ -54,5 +54,5 @@
|
||||
<button name='left' type='left' def-key='left' relative='pos-in pos-in' anchor='led20' top='19' left='0'/>
|
||||
<button name='right' type='right' def-key='right' relative='pos-in pos-in' rel-anchor='prev' top='0' left='63'/>
|
||||
<button name='cancel' type='regular' def-key='esc' relative='pos-in pos-in' rel-anchor='prev' top='0' left='201'>Cancel</button>
|
||||
<button name='done' type='regular' relative='pos-in pos-in' rel-anchor='prev' top='0' left='66'>OK</button>
|
||||
<button name='done' type='regular' def-key='ctrl enter' relative='pos-in pos-in' rel-anchor='prev' top='0' left='66'>OK</button>
|
||||
</dialog>
|
||||
|
Reference in New Issue
Block a user