Changeset 1343 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2009-01-25T23:44:39+01:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/preferences/ToolbarPreferences.java
r1335 r1343 198 198 public boolean importData(JComponent comp, Transferable t) { 199 199 try { 200 int dropIndex = selectedList.locationToIndex(selectedList.get DropLocation().getDropPoint());200 int dropIndex = selectedList.locationToIndex(selectedList.getMousePosition(true)); 201 201 Object[] draggedData = (Object[]) t.getTransferData(ACTION_FLAVOR); 202 202 … … 409 409 410 410 public boolean ok() { 411 StringBuilder b = new StringBuilder();412 411 Collection<String> t = new LinkedList<String>(); 413 412 for (int i = 0; i < selected.size(); ++i) { … … 426 425 */ 427 426 public Action register(Action action) { 428 //actions.put((String) action.getValue("toolbar"), action);427 actions.put((String) action.getValue("toolbar"), action); 429 428 return action; 430 429 }
Note:
See TracChangeset
for help on using the changeset viewer.