Changeset 2975 in josm for trunk


Ignore:
Timestamp:
2010-02-13T18:00:52+01:00 (10 years ago)
Author:
Gubaer
Message:

applied #4517: patch by Petr Dlouhý: JOSM is crashing, when Tracer plugin is build without modal dialog

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/UndoRedoHandler.java

    r2621 r2975  
    5555     * Execute the command and add it to the intern command queue.
    5656     */
    57     public void add(final Command c) {
     57    synchronized public void add(final Command c) {
    5858        addNoRedraw(c);
    5959        afterAdd();
     
    6363     * Undoes the last added command.
    6464     */
    65     public void undo() {
     65    synchronized public void undo() {
    6666        if (commands.isEmpty())
    6767            return;
Note: See TracChangeset for help on using the changeset viewer.