- Timestamp:
- 2010-03-18T20:42:21+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/UndoRedoHandler.java
r2975 r3143 38 38 c.executeCommand(); 39 39 commands.add(c); 40 // Limit the number of commands in the undo list. 41 // Currently you have to undo the commands one by one. If 42 // this changes, a higher default value may be reasonable. 43 if (commands.size() > Main.pref.getInteger("undo.max", 1000)) { 44 commands.removeFirst(); 45 } 40 46 redoCommands.clear(); 41 47 }
Note:
See TracChangeset
for help on using the changeset viewer.