Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.0-beta-4
-
None
-
None
-
Windows XP
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