Ignore:
Timestamp:
2012-02-08T22:31:29+01:00 (12 years ago)
Author:
simon04
Message:

fix #7327 - show hint in undo-menu which action will be undone (from event stack)

File:
1 edited

Legend:

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

    r4395 r4908  
    203203            listener.updateEnabledState();
    204204        }
    205         Main.main.undoRedo.listenerCommands.add(this);
     205        Main.main.undoRedo.addCommandQueueListener(this);
    206206    }
    207207
     
    219219        undoTreeModel.setRoot(new DefaultMutableTreeNode());
    220220        redoTreeModel.setRoot(new DefaultMutableTreeNode());
    221         Main.main.undoRedo.listenerCommands.remove(this);
     221        Main.main.undoRedo.removeCommandQueueListener(this);
    222222    }
    223223
Note: See TracChangeset for help on using the changeset viewer.