Changeset 16457 in josm
- Timestamp:
- 2020-05-17T22:19:49+02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/history/VersionTable.java
r16395 r16457 15 15 import java.awt.event.MouseEvent; 16 16 import java.util.Objects; 17 import java.util.stream.IntStream; 17 18 18 19 import javax.swing.DefaultCellEditor; … … 96 97 } 97 98 }); 99 getModel().addTableModelListener(e -> 100 IntStream.range(0, model.getHistory().getNumVersions()).filter(model::isCurrentPointInTime).findFirst().ifPresent(row -> 101 scrollRectToVisible(getCellRect(row, 0, true)))); 98 102 getModel().addTableModelListener(e -> { 99 103 adjustColumnWidth(this, 0, 0);
Note:
See TracChangeset
for help on using the changeset viewer.