Changeset 4776 in josm
- Timestamp:
- 2012-01-08T19:12:27+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r4768 r4776 35 35 import javax.swing.JOptionPane; 36 36 37 import javax.swing.SwingUtilities; 37 38 import org.openstreetmap.josm.Main; 38 39 import org.openstreetmap.josm.command.AddCommand; … … 158 159 DataSet.removeSelectionListener(this); 159 160 Main.unregisterActionShortcut(backspaceShortcut); 161 snapHelper.unsetFixedMode(); 160 162 161 163 removeHighlighting(); … … 1064 1066 } 1065 1067 1066 public staticclass BackSpaceAction extends AbstractAction {1068 public class BackSpaceAction extends AbstractAction { 1067 1069 1068 1070 @Override … … 1076 1078 if (n==null) { 1077 1079 n=(Node) p; // found one node 1080 wayIsFinished=false; 1078 1081 } else { 1079 1082 // if more than 1 node were affected by previous command, … … 1086 1089 // select last added node - maybe we will continue drawing from it 1087 1090 if (n!=null) getCurrentDataSet().addSelected(n); 1088 } 1089 1091 } 1092 } 1090 1093 1091 1094 private class SnapHelper {
Note:
See TracChangeset
for help on using the changeset viewer.