Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-4
-
Fix Version/s: 1.0-beta-6
-
Component/s: None
-
Labels:None
-
Environment:Windows XP
-
Number of attachments :
Description
If I have an entry something like this:
menuBar {
menu(text:'Help', mnemonic:'H') {
The Mnemonic is not set, in fact this throws an 'Argument type or mismatch' exception.
changing the code to
menuBar {
menu(text:'Help', mnemonic:1) {
helps in that there is no exception but I still don't get the mnemonic.
James suggested this as a work around:
menu(text:'Help', mnemonic:'H'.charAt(0)) {
and that works.
However if I have the following
menuItem() {
action(name:'Open', mnemonic:'O'.charAt(0), closure:
)
The mnemonic still doesn't work
Here you go!