         }
     }
     
+    func passengerSelected(passenger:PassengerDTO) -> Bool{
+        for controller in passengerViewControllerList where controller.passenger == passenger{
+            return true
+        }
+        return false
+    }
+    
+    func checkPassenger(passenger:PassengerDTO){
+        for controller in passengerViewControllerList where controller.passenger == passenger{
+            controller.select()
+        }
+    }
+    
     @IBAction func clickAutoQuery(sender: NSButton) {
         if sender.state == NSOnState {
             if self.seatFilterKey == "" {

        
        passengersPopover.showRelativeToRect(positioningRect, ofView: positioningView, preferredEdge: preferredEdge)
        passengerSelectViewController.reloadPassenger(MainModel.passengers)
    }
    
    func passengerSelected(passenger:PassengerDTO) -> Bool{
        for controller in passengerViewControllerList where controller.passenger == passenger{
            return true
        }
        return false
    }
    
    func checkPassenger(passenger:PassengerDTO){
        for controller in passengerViewControllerList where controller.passenger == passenger{
            controller.select()
        }
    }
    
// MARK: - TicketTableView

            
            for ticket in self.filterQueryResult {
                if ticket.hasTicketForSeatTypeFilterKey(self.seatFilterKey) {
                    self.stopAutoQuery()
                    self.summitTicket(ticket, seatTypeId: ticket.getSeatTypeNameByFilterKey(self.seatFilterKey)!,isAuto: true)
                    NotifySpeaker.sharedInstance.notify()
                    break;
                }
