Revision 1763 branches/FMap_piloto_CAD_Layout_version/libraries/libFMap/src/com/iver/cit/gvsig/fmap/edition/MemoryCommandRecord.java

View differences:

MemoryCommandRecord.java
78 78
	 */
79 79
	public void pushCommand(Command command)
80 80
		throws IOException, DriverIOException {
81
		if (command instanceof CommandCollection && ((CommandCollection)command).commands.isEmpty()){
82
			return;
83
		}
84
		
81 85
		undos.add(command);
82 86
		redos.clear();
87
		
83 88
	}
84 89

  
85 90
	/**

Also available in: Unified diff