Index: trunk/src/org/openstreetmap/josm/command/SequenceCommand.java
===================================================================
--- trunk/src/org/openstreetmap/josm/command/SequenceCommand.java	(revision 12720)
+++ trunk/src/org/openstreetmap/josm/command/SequenceCommand.java	(revision 12721)
@@ -34,9 +34,10 @@
      * Create the command by specifying the list of commands to execute.
      * @param name The description text
-     * @param sequenz The sequence that should be executed
+     * @param sequenz The sequence that should be executed. Must not be null or empty
      * @param continueOnError Determines if the sequence execution should continue after one of its commands fails
      * @since 11874
      */
     public SequenceCommand(String name, Collection<Command> sequenz, boolean continueOnError) {
+        super(sequenz.iterator().next().getAffectedDataSet());
         this.name = name;
         this.sequence = sequenz.toArray(new Command[sequenz.size()]);
