This commit is contained in:
parent
c243404ffb
commit
2f660767c2
|
@ -53,7 +53,7 @@ public class AdempiereButtonListener extends BasicButtonListener
|
|||
public void propertyChange (PropertyChangeEvent e)
|
||||
{
|
||||
String prop = e.getPropertyName();
|
||||
if (prop == AbstractButton.MNEMONIC_CHANGED_PROPERTY)
|
||||
if (prop.equals(AbstractButton.MNEMONIC_CHANGED_PROPERTY))
|
||||
updateMnemonicBindingX ((AbstractButton)e.getSource());
|
||||
else
|
||||
super.propertyChange (e);
|
||||
|
|
|
@ -56,7 +56,7 @@ public class CompiereButtonListener extends BasicButtonListener
|
|||
public void propertyChange (PropertyChangeEvent e)
|
||||
{
|
||||
String prop = e.getPropertyName();
|
||||
if (prop == AbstractButton.MNEMONIC_CHANGED_PROPERTY)
|
||||
if (prop.equals(AbstractButton.MNEMONIC_CHANGED_PROPERTY))
|
||||
updateMnemonicBindingX ((AbstractButton)e.getSource());
|
||||
else
|
||||
super.propertyChange (e);
|
||||
|
|
Loading…
Reference in New Issue