Changeset 11452 in josm for trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
- Timestamp:
- 2017-01-12T01:24:40+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r11385 r11452 586 586 587 587 // Select Draw Tool if no selection has been made 588 if ( getLayerManager().getEditDataSet().selectionEmpty() && !cancelDrawMode) {588 if (!cancelDrawMode && getLayerManager().getEditDataSet().selectionEmpty()) { 589 589 Main.map.selectDrawTool(true); 590 590 updateStatusLine(); … … 639 639 @Override 640 640 public void doKeyPressed(KeyEvent e) { 641 if (! Main.isDisplayingMapView() ||642 !repeatedKeySwitchLassoOption || !getShortcut().isEvent(e))return;641 if (!repeatedKeySwitchLassoOption || !Main.isDisplayingMapView() || !getShortcut().isEvent(e)) 642 return; 643 643 if (Main.isDebugEnabled()) { 644 644 Main.debug(getClass().getName()+" consuming event "+e);
Note:
See TracChangeset
for help on using the changeset viewer.