Ticket #5201: select.history-size.diff
| File select.history-size.diff, 660 bytes (added by , 16 years ago) |
|---|
-
src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java
528 528 break; 529 529 } 530 530 } 531 while (history.size() > SELECTION_HISTORY_SIZE) { 531 int maxsize = Main.pref.getInteger("select.history-size", SELECTION_HISTORY_SIZE); 532 while (history.size() > maxsize) { 532 533 history.removeLast(); 533 534 } 534 535 }
