Changeset 12641 in josm for trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
- Timestamp:
- 2017-08-25T03:01:22+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
r12636 r12641 507 507 return; 508 508 if (key.equals(newkey) || value == null) { 509 Main .main.undoRedo.add(new ChangePropertyCommand(sel, newkey, value));509 MainApplication.undoRedo.add(new ChangePropertyCommand(sel, newkey, value)); 510 510 AutoCompletionManager.rememberUserInput(newkey, value, true); 511 511 } else { … … 541 541 AutoCompletionManager.rememberUserInput(newkey, value, false); 542 542 } 543 Main .main.undoRedo.add(new SequenceCommand(543 MainApplication.undoRedo.add(new SequenceCommand( 544 544 trn("Change properties of up to {0} object", 545 545 "Change properties of up to {0} objects", sel.size(), sel.size()), … … 1068 1068 AutoCompletionManager.rememberUserInput(key, value, false); 1069 1069 commandCount++; 1070 Main .main.undoRedo.add(new ChangePropertyCommand(sel, key, value));1070 MainApplication.undoRedo.add(new ChangePropertyCommand(sel, key, value)); 1071 1071 changedKey = key; 1072 1072 clearEntries(); … … 1079 1079 1080 1080 public void undoAllTagsAdding() { 1081 Main .main.undoRedo.undo(commandCount);1081 MainApplication.undoRedo.undo(commandCount); 1082 1082 } 1083 1083
Note:
See TracChangeset
for help on using the changeset viewer.