From 93ee8d59acbd5dc28239a995aff0748b125a3e92 Mon Sep 17 00:00:00 2001 From: fancymax Date: Fri, 16 Sep 2016 20:50:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E7=AD=9B=E9=80=89=E4=B9=8B?= =?UTF-8?q?=E5=90=8E=E6=8F=90=E4=BA=A4=E8=AE=A2=E5=8D=95=E5=87=BA=E9=94=99?= =?UTF-8?q?=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 12306ForMac/Info.plist | 2 +- .../TicketViewControllers/TicketQueryViewController.swift | 4 ++-- .../TicketViewControllers/TicketQueryViewController.xib | 4 ++-- .../TicketViewControllers/TrainFilterWindowController.swift | 4 ++-- .../TicketViewControllers/TrainFilterWindowController.xib | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/12306ForMac/Info.plist b/12306ForMac/Info.plist index 6b32c86..229e9cf 100644 --- a/12306ForMac/Info.plist +++ b/12306ForMac/Info.plist @@ -19,7 +19,7 @@ CFBundleSignature ???? CFBundleVersion - 1 + 2 Fabric APIKey diff --git a/12306ForMac/TicketViewControllers/TicketQueryViewController.swift b/12306ForMac/TicketViewControllers/TicketQueryViewController.swift index 0306568..90d7cb2 100644 --- a/12306ForMac/TicketViewControllers/TicketQueryViewController.swift +++ b/12306ForMac/TicketViewControllers/TicketQueryViewController.swift @@ -484,7 +484,7 @@ class TicketQueryViewController: NSViewController { } let selectedRow = leftTicketTable.rowForView(sender) - MainModel.selectedTicket = ticketQueryResult[selectedRow] + MainModel.selectedTicket = filterQueryResult[selectedRow] setSeatCodeForSelectedPassenger(MainModel.selectedTicket!.TrainCode! ,seatCodeName: sender.identifier!) self.loadingTipController.start(tip:"正在提交...") @@ -521,7 +521,7 @@ class TicketQueryViewController: NSViewController { for i in 0.. - + @@ -462,7 +462,7 @@ - + diff --git a/12306ForMac/TicketViewControllers/TrainFilterWindowController.swift b/12306ForMac/TicketViewControllers/TrainFilterWindowController.swift index 9ff5851..379dfa3 100644 --- a/12306ForMac/TicketViewControllers/TrainFilterWindowController.swift +++ b/12306ForMac/TicketViewControllers/TrainFilterWindowController.swift @@ -168,11 +168,11 @@ class TrainFilterWindowController: NSWindowController,NSTableViewDelegate,NSTabl return "TrainFilterWindowController" } - @IBAction func cancelButtonClicked(button:NSButton){ + @IBAction func clickCancel(sender: AnyObject) { dismissWithModalResponse(NSModalResponseCancel) } - @IBAction func okButtonClicked(button:NSButton){ + @IBAction func clickOK(sender: AnyObject) { getFilterKey() dismissWithModalResponse(NSModalResponseOK) } diff --git a/12306ForMac/TicketViewControllers/TrainFilterWindowController.xib b/12306ForMac/TicketViewControllers/TrainFilterWindowController.xib index b9ec4f0..bfd2154 100644 --- a/12306ForMac/TicketViewControllers/TrainFilterWindowController.xib +++ b/12306ForMac/TicketViewControllers/TrainFilterWindowController.xib @@ -205,7 +205,7 @@ DQ - + @@ -226,7 +226,7 @@ DQ - +