Changeset 32060 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
- Timestamp:
- 2016-02-09T23:50:50+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/CadastrePlugin.java
r31665 r32060 232 232 menuSource.addActionListener(new ActionListener() { 233 233 @Override 234 public void actionPerformed(ActionEvent ev) {234 public void actionPerformed(ActionEvent ev) { 235 235 Main.pref.put("cadastrewms.autosourcing", menuSource.isSelected()); 236 236 autoSourcing = menuSource.isSelected(); … … 367 367 368 368 @Override 369 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) {369 public void mapFrameInitialized(MapFrame oldFrame, MapFrame newFrame) { 370 370 if (cadastreJMenu != null) { 371 371 if (oldFrame == null && newFrame != null) { … … 439 439 dialog.setAlwaysOnTop(true); 440 440 } catch(SecurityException e) { 441 Main.warn(tr("Warning: failed to put option pane dialog always on top. Exception was: {0}", e.toString()));441 Main.warn(tr("Warning: failed to put option pane dialog always on top. Exception was: {0}", e.toString())); 442 442 } 443 443 } … … 478 478 } catch (NumberFormatException e) {} 479 479 if (srcYear.equals("AAAA") || (year != null && year < currentYear)) { 480 Main.info("Replace source year "+srcYear+" by current year "+currentYear);480 Main.info("Replace source year "+srcYear+" by current year "+currentYear); 481 481 src = src.substring(0, src.lastIndexOf(" ")+1)+currentYear; 482 482 Main.pref.put("cadastrewms.source", src);
Note:
See TracChangeset
for help on using the changeset viewer.
