Fixed issue #59. Awt menus cannot show tooltips.
This commit is contained in:
parent
428f39baf1
commit
0a2ffb451d
|
@ -139,13 +139,7 @@ class AwtMenu implements MenuPeer {
|
|||
@Override
|
||||
public
|
||||
void setTooltip(final MenuItem menuItem) {
|
||||
SwingUtil.invokeLater(new Runnable() {
|
||||
@Override
|
||||
public
|
||||
void run() {
|
||||
_native.setLabel(menuItem.getTooltip());
|
||||
}
|
||||
});
|
||||
// no op. (awt menus cannot show tooltips)
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user