Remove all def-key='enter' in favour of defbtn attribute

In addition, the default button is finally properly outlined when specified with the defbtn attribute.
(It would also be outlined if specified with def-key='enter'.)
The following preset buttons (available to special nodes) now respond to the enter key:
- "Leave", "Done", "OK"
This commit is contained in:
2015-10-03 03:35:41 -04:00
parent da58f09fca
commit 8b5396c980
14 changed files with 25 additions and 37 deletions

View File

@@ -6,5 +6,5 @@
This item will be gone forever. Still drop it?
</text>
<button name='cancel' type='regular' def-key='esc' top='42' left='238'>Cancel</button>
<button name='okay' type='regular' def-key='enter' top='42' left='169'>OK</button>
<button name='okay' type='regular' top='42' left='169'>OK</button>
</dialog>