Changeset 3361 in josm


Ignore:
Timestamp:
2010-06-30T20:44:58+02:00 (14 years ago)
Author:
bastiK
Message:

applied #5201 (patch by Mathieu Arnold) - add a pref for the SELECTION_HISTORY_SIZE constant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/SelectionListDialog.java

    r3327 r3361  
    529529                }
    530530            }
    531             while (history.size() > SELECTION_HISTORY_SIZE) {
     531            int maxsize = Main.pref.getInteger("select.history-size", SELECTION_HISTORY_SIZE);
     532            while (history.size() > maxsize) {
    532533                history.removeLast();
    533534            }
Note: See TracChangeset for help on using the changeset viewer.