obj.undoLastPoint();    
            end
            
            % Add zero data, otherwise the image will have 0 size, meaning
            % it cannot be clicked
            obj.setCData(zeros(512));
            obj.setAlphaData(zeros(512));
        end
    end
end
##### SOURCE END #####
--></body></html>