Changeset 5161 in josm


Ignore:
Timestamp:
2012-04-03T16:27:28+02:00 (8 years ago)
Author:
simon04
Message:

see #3910 - remove debugging output, make lasso mode work correctly

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/LassoModeAction.java

    r5154 r5161  
    1919    @Override
    2020    public void enterMode() {
    21         super.enterMode();
    2221        if (Main.map != null) {
    2322            Main.map.mapModeSelect.setLassoMode(true);
    2423            Main.map.mapModeSelect.enterMode();
    2524        }
     25        super.enterMode();
    2626    }
    2727
    2828    @Override
    2929    public void exitMode() {
    30         super.exitMode();
    3130        Main.map.mapModeSelect.setLassoMode(false);
    3231        Main.map.mapModeSelect.exitMode();
     32        super.exitMode();
    3333    }
    3434}
  • trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java

    r5152 r5161  
    983983
    984984    public void setLassoMode(boolean lassoMode) {
    985         System.out.println(lassoMode);
    986985        this.selectionManager.setLassoMode(lassoMode);
    987986        this.lassoMode = lassoMode;
Note: See TracChangeset for help on using the changeset viewer.