function redo(h)

%% Pop the latest redo transaction from the @recorder stack and undo it.
%% Then fire a datachange event for each of the affected time series
recorder = tsguis.recorder;
if ~isempty(recorder.Redo)
    % Pop the latest transaction and undo it
    trans = recorder.popredo;
    trans.redo;
    
    % Update the affected time series
    thesets = get(h.TSnode.getChildren,{'Timeseries'});
    ind = find(trans.getts(thesets));
    for k=1:length(ind)
        thesets{ind(k)}.send('datachange');
    end
end

    