# File lib/cgikit/displaygroup.rb, line 402
    def select_pre
      if @objects.empty? then
        # do nothing
      elsif @selections.empty? then
        obj = @objects[0]
        self.selection = obj
      elsif @selections.first == @displays.last then
        obj = @displays.last
        self.selection = obj
      else
        index = @objects.index(@selections.first) - 1
        obj = @objects[index]
        self.selection = obj
      end
    end