Revision 28367 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/commands/ModifyRowCommand.java

View differences:

ModifyRowCommand.java
39 39
	 * @see com.iver.cit.gvsig.fmap.edition.Command#undo()
40 40
	 */
41 41
	public void undo() throws EditionCommandException {
42
		efs.undoModifyRow(calculatedIndexAnt,previousIndexInExpansionFile,type);
42
		previousIndexInExpansionFile=efs.undoModifyRow(calculatedIndexAnt,previousIndexInExpansionFile,type);
43 43
	}
44 44
	/**
45 45
	 * @throws DriverIOException
......
48 48
	 */
49 49
	public void redo() throws EditionCommandException {
50 50
		try {
51
			efs.doModifyRow(calculatedIndexAnt,rowNext,type);
51
			previousIndexInExpansionFile=efs.doModifyRow(calculatedIndexAnt,rowNext,type);
52 52
		} catch (ExpansionFileWriteException e) {
53 53
			throw new EditionCommandException(efs.getWriter().getName(),e);
54 54
		} catch (ReadDriverException e) {

Also available in: Unified diff