Changeset 12636 in josm for trunk/src/org/openstreetmap/josm/gui/MapStatus.java
- Timestamp:
- 2017-08-24T22:53:50+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r12630 r12636 486 486 */ 487 487 private void popupCycleSelection(Collection<OsmPrimitive> osms, int mods) { 488 DataSet ds = Main .getLayerManager().getEditDataSet();488 DataSet ds = MainApplication.getLayerManager().getEditDataSet(); 489 489 // Find some items that are required for cycling through 490 490 OsmPrimitive firstItem = null; … … 577 577 */ 578 578 private void popupSetLabelColors(JLabel lbl, OsmPrimitive osm) { 579 DataSet ds = Main .getLayerManager().getEditDataSet();579 DataSet ds = MainApplication.getLayerManager().getEditDataSet(); 580 580 if (ds.isSelected(osm)) { 581 581 lbl.setBackground(SystemColor.textHighlight); … … 650 650 @Override 651 651 public void mouseClicked(MouseEvent e) { 652 DataSet ds = Main .getLayerManager().getEditDataSet();652 DataSet ds = MainApplication.getLayerManager().getEditDataSet(); 653 653 // Let the user toggle the selection 654 654 ds.toggleSelected(osm);
Note:
See TracChangeset
for help on using the changeset viewer.