- Timestamp:
- 2014-07-07T18:40:16+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/LassoModeAction.java
r7224 r7293 6 6 import org.openstreetmap.josm.Main; 7 7 import org.openstreetmap.josm.actions.mapmode.MapMode; 8 import org.openstreetmap.josm.gui.layer.Layer; 8 9 import org.openstreetmap.josm.tools.ImageProvider; 9 10 … … 35 36 super.exitMode(); 36 37 } 38 39 @Override 40 public boolean layerIsSupported(Layer l) { 41 return Main.map.mapModeSelect.layerIsSupported(l); 42 } 37 43 } -
trunk/src/org/openstreetmap/josm/gui/util/AdvancedKeyPressDetector.java
r7219 r7293 98 98 } 99 99 if (!modifierListeners.isEmpty()) { 100 Main.warn(tr("Some of the key listeners forgot to remove themselves: {0}"), modifierListeners.toString());100 Main.warn(tr("Some of the key modifier listeners forgot to remove themselves: {0}"), modifierListeners.toString()); 101 101 } 102 102 try { … … 160 160 */ 161 161 public boolean isKeyPressed(int keyCode) { 162 return set.contains( Integer.valueOf(keyCode));162 return set.contains(keyCode); 163 163 } 164 164 }
Note:
See TracChangeset
for help on using the changeset viewer.