Changeset 20281 in osm for applications/editors


Ignore:
Timestamp:
2010-03-05T16:59:58+01:00 (14 years ago)
Author:
pieren
Message:

Improve exitMode if enterMode fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/WMSAdjustAction.java

    r20211 r20281  
    6868                JOptionPane.showMessageDialog(Main.parent,tr("This mode works only if active layer is\n"
    6969                        +"a cadastre \"plan image\" (raster image)"));
     70                exitMode();
     71                Main.map.selectMapMode((MapMode)Main.map.getDefaultButtonAction());
    7072            }
    7173        }
Note: See TracChangeset for help on using the changeset viewer.