Changeset 3810 in josm for trunk/src/org/openstreetmap/josm/actions/RedoAction.java
- Timestamp:
- 2011-01-23T17:45:01+01:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/RedoAction.java
r2323 r3810 2 2 package org.openstreetmap.josm.actions; 3 3 4 import static org.openstreetmap.josm.gui.help.HelpUtil.ht; 4 5 import static org.openstreetmap.josm.tools.I18n.tr; 5 import static org.openstreetmap.josm.gui.help.HelpUtil.ht;6 6 7 7 import java.awt.event.ActionEvent; … … 37 37 @Override 38 38 protected void updateEnabledState() { 39 setEnabled(Main.ma p != null);39 setEnabled(Main.main != null && !Main.main.undoRedo.redoCommands.isEmpty()); 40 40 } 41 41 }
Note:
See TracChangeset
for help on using the changeset viewer.