Changeset 10448 in josm for trunk/src/org/openstreetmap/josm/gui
- Timestamp:
- 2016-06-21T01:29:31+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r10446 r10448 268 268 // which would make this variable true. Of course we only want the popup to show 269 269 // if the middle mouse button has been pressed in the first place 270 boolean mouseNotMoved = oldMousePos != null 271 && oldMousePos.equals(ms.mousePos); 270 boolean mouseNotMoved = oldMousePos != null && oldMousePos.equals(ms.mousePos); 272 271 boolean isAtOldPosition = mouseNotMoved && popup != null; 273 272 boolean middleMouseDown = (ms.modifiers & MouseEvent.BUTTON2_DOWN_MASK) != 0; 274 273 try { 275 ds = mv.get CurrentDataSet();274 ds = mv.getLayerManager().getEditDataSet(); 276 275 if (ds != null) { 277 276 // This is not perfect, if current dataset was changed during execution, the lock would be useless
Note:
See TracChangeset
for help on using the changeset viewer.