Changeset 30643 in osm for applications
- Timestamp:
- 2014-09-15T03:36:33+02:00 (10 years ago)
- Location:
- applications/editors/josm/plugins/terracer/src/terracer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputDialog.java
r30614 r30643 37 37 import org.openstreetmap.josm.gui.tagging.ac.AutoCompletionListItem; 38 38 import org.openstreetmap.josm.tools.GBC; 39 import org.openstreetmap.josm.tools.WindowGeometry; 39 40 40 41 /** … … 118 119 getRootPane().setDefaultButton(defaultButton); 119 120 pack(); 121 setRememberWindowGeometry(getClass().getName() + ".geometry", WindowGeometry.centerInWindow(Main.parent, getPreferredSize())); 120 122 lo.requestFocusInWindow(); 121 123 } -
applications/editors/josm/plugins/terracer/src/terracer/HouseNumberInputHandler.java
r30614 r30643 213 213 dialog.segments.setText(String.valueOf(steps)); 214 214 dialog.segments.setEditable(false); 215 216 215 } 217 216 } … … 310 309 } 311 310 312 this.dialog. dispose();311 this.dialog.setVisible(false); 313 312 } 314 313 } else if (tr("Cancel").equals(button.getActionCommand())) { 315 this.dialog. dispose();314 this.dialog.setVisible(false); 316 315 } 317 316 } else { … … 328 327 */ 329 328 public Integer stepSize() { 330 return (dialog.interpolation.getSelectedItem().equals(tr("All"))) ? 1 331 : 2; 329 return (dialog.interpolation.getSelectedItem().equals(tr("All"))) ? 1 : 2; 332 330 } 333 331
Note:
See TracChangeset
for help on using the changeset viewer.