// }
// }
item.removeActionListener(this);
item.addActionListener(this);
} else if (o instanceof MenuList) {
MenuList item = (MenuList)o;
// TF:18/06/2008:removed this as I don't understand why it's there
// int actionCount = item.getActionListeners().length;
// if (actionCount > 0) {
// for (ActionListener listener : item.getActionListeners()){
// item.removeActionListener(listener);
// }
// }
item.removeActionListener(this);
item.addActionListener(this);
}
}