Changeset 13434 in josm for trunk/src/org/openstreetmap/josm/gui/SelectionManager.java
- Timestamp:
- 2018-02-18T05:02:23+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/SelectionManager.java
r12961 r13434 183 183 @Override 184 184 public void mousePressed(MouseEvent e) { 185 if (e.getButton() == MouseEvent.BUTTON1 && e.getClickCount() > 1 && MainApplication.getLayerManager().get EditDataSet() != null) {185 if (e.getButton() == MouseEvent.BUTTON1 && e.getClickCount() > 1 && MainApplication.getLayerManager().getActiveDataSet() != null) { 186 186 SelectByInternalPointAction.performSelection(MainApplication.getMap().mapView.getEastNorth(e.getX(), e.getY()), 187 187 (e.getModifiersEx() & MouseEvent.SHIFT_DOWN_MASK) != 0, … … 374 374 } 375 375 376 DataSet ds = MainApplication.getLayerManager().get EditDataSet();376 DataSet ds = MainApplication.getLayerManager().getActiveDataSet(); 377 377 if (clicked) { 378 378 Point center = new Point(selectionResult.xpoints[0], selectionResult.ypoints[0]);
Note:
See TracChangeset
for help on using the changeset viewer.