Changeset 1571 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2009-05-05T16:10:24+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r1393 r1571 67 67 for (TreePath selectedAction : actionsTree.getSelectionPaths()) { 68 68 DefaultMutableTreeNode node = (DefaultMutableTreeNode) selectedAction.getLastPathComponent(); 69 if (node.getUserObject() == null || node.getUserObject() instanceof Action) { 69 if (node.getUserObject() == null) 70 selected.add(leadItem++, null); 71 else if (node.getUserObject() == null || node.getUserObject() instanceof Action) 70 72 selected.add(leadItem++, ((Action)node.getUserObject()).getValue("toolbar")); 71 }72 73 } 73 74 } else if (e.getActionCommand().equals(">") && selectedList.getSelectedIndex() != -1) {
Note:
See TracChangeset
for help on using the changeset viewer.