mjudd 2007-03-07 00:30:22 +00:00
parent c243404ffb
commit 2f660767c2
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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);