Changeset 13225 in josm
- Timestamp:
- 2017-12-18T18:40:26+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r13177 r13225 30 30 import javax.swing.JMenuItem; 31 31 import javax.swing.JOptionPane; 32 import javax.swing.SwingUtilities; 32 33 33 34 import org.openstreetmap.josm.Main; … … 348 349 if (!MainApplication.getMap().mapView.isActiveLayerDrawable()) 349 350 return; 350 computeHelperLine(); 351 addHighlighting(); 351 // Make sure helper line is computed later (causes deadlock in selection event chain otherwise) 352 SwingUtilities.invokeLater(() -> { 353 computeHelperLine(); 354 addHighlighting(); 355 }); 352 356 } 353 357
Note:
See TracChangeset
for help on using the changeset viewer.