Changeset 18354 in josm
- Timestamp:
- 2022-01-02T19:56:59+01:00 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/MapPaintMenu.java
r16563 r18354 46 46 47 47 private void toggleStyle() { 48 MapPaintStyles.toggleStyleActive(MapPaintStyles.getStyles().getStyleSources().indexOf(style)); 48 int index = MapPaintStyles.getStyles().getStyleSources().indexOf(style); 49 if (index >= 0) { 50 MapPaintStyles.toggleStyleActive(index); 51 } 49 52 updateButton(); 50 53 }
Note:
See TracChangeset
for help on using the changeset viewer.