- Timestamp:
- 2010-08-20T21:56:22+02:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/PurgeAction.java
r3431 r3450 174 174 if (cbClearUndoRedo.isSelected()) { 175 175 Main.main.undoRedo.clean(); 176 Main.map.selectionListDialog.clearSelectionHistory(); 176 177 } 177 178 } -
trunk/src/org/openstreetmap/josm/gui/MapFrame.java
r3443 r3450 76 76 public ConflictDialog conflictDialog; 77 77 public FilterDialog filterDialog; 78 /**79 * The dialog that shows all relations and lets the user edit them.80 */81 78 public RelationListDialog relationListDialog; 79 public SelectionListDialog selectionListDialog; 82 80 /** 83 81 * The panel list of all toggle dialog icons. To add new toggle dialog actions, use addToggleDialog … … 157 155 addToggleDialog(LayerListDialog.getInstance()); 158 156 addToggleDialog(new PropertiesDialog(this)); 159 addToggleDialog( new SelectionListDialog());157 addToggleDialog(selectionListDialog = new SelectionListDialog()); 160 158 addToggleDialog(relationListDialog = new RelationListDialog()); 161 159 addToggleDialog(new CommandStackDialog(this)); -
trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
r3361 r3450 221 221 } 222 222 223 public void clearSelectionHistory() { 224 model.clearSelectionHistory(); 225 } 226 223 227 /** 224 228 * Responds to double clicks on the list of selected objects … … 542 546 public List<Collection<? extends OsmPrimitive>> getSelectionHistory() { 543 547 return history; 548 } 549 550 public void clearSelectionHistory() { 551 history.clear(); 544 552 } 545 553
Note:
See TracChangeset
for help on using the changeset viewer.