Changeset 16625 in josm for trunk/src/org/openstreetmap/josm/gui/MapStatus.java
- Timestamp:
- 2020-06-14T14:55:20+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r16438 r16625 317 317 } 318 318 319 // This try/catch is a hack to stop the flooding bug reports about this.320 // The exception needed to handle with in the first place, means that this321 // access to the data need to be restarted, if the main thread modifies the data.322 DataSet ds = null;323 319 // The popup != null check is required because a left-click produces several events as well, 324 320 // which would make this variable true. Of course we only want the popup to show … … 328 324 boolean middleMouseDown = (ms.modifiers & MouseEvent.BUTTON2_DOWN_MASK) != 0; 329 325 330 ds = mv.getLayerManager().getActiveDataSet();326 DataSet ds = mv.getLayerManager().getActiveDataSet(); 331 327 if (ds != null) { 332 328 // This is not perfect, if current dataset was changed during execution, the lock would be useless … … 340 336 } 341 337 } 338 // This try/catch is a hack to stop the flooding bug reports about this. 339 // The exception needed to handle with in the first place, means that this 340 // access to the data need to be restarted, if the main thread modifies the data. 342 341 try { 343 342 // Set the text label in the bottom status bar
Note:
See TracChangeset
for help on using the changeset viewer.