- Timestamp:
- 2009-02-07T19:45:38+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/RelationEditor.java
r1331 r1368 453 453 454 454 private JButton createButton(String name, String iconName, String tooltip, int mnemonic, ActionListener actionListener) { 455 JButton b = new JButton( tr(name), ImageProvider.get("dialogs", iconName));455 JButton b = new JButton((name == null) ? null : tr(name), ImageProvider.get("dialogs", iconName)); 456 456 b.setActionCommand(name); 457 457 b.addActionListener(actionListener);
Note:
See TracChangeset
for help on using the changeset viewer.