     }
     
     func clickSubmit(sender: NSButton){
-        self.stopAutoQuery()
+        if hasAutoQuery {
+            self.stopAutoQuery()
+        }
         let selectedRow = leftTicketTable.rowForView(sender)
         let ticket = filterQueryResult[selectedRow]
         let seatTypeId = sender.identifier!

        
        return view
    }
    
}

            for ticket in self.filterQueryResult {
                if ticket.hasTicketForSeatTypeFilterKey(self.seatFilterKey) {
                    self.stopAutoQuery()
                    
                    let seatTypeId = ticket.getSeatTypeNameByFilterKey(self.seatFilterKey)!
                    self.summitTicket(ticket, seatTypeId: seatTypeId,isAuto: true)
                    
                    NotifySpeaker.sharedInstance.notify()
                    
                    let informativeText = "\(self.date!) \(self.fromStationNameTxt.stringValue)->\(self.toStationNameTxt.stringValue) \(seatTypeId)"
                    self.pushUserNotification("有票提醒",informativeText: informativeText)
                    
                    break;
                }
            }
