Skip to content

Commit

Permalink
Fix issue #6
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnyyoung committed Oct 11, 2016
1 parent a114b8f commit 0484bc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions AppleReserver/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1</string>
<string>1.2</string>
<key>CFBundleVersion</key>
<string>4</string>
<string>5</string>
<key>LSMinimumSystemVersion</key>
<string>$(MACOSX_DEPLOYMENT_TARGET)</string>
<key>NSHumanReadableCopyright</key>
Expand Down
2 changes: 1 addition & 1 deletion AppleReserver/Module/HomeViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ - (void)tableViewSelectionDidChange:(NSNotification *)notification {
#pragma mark - Event Response

- (IBAction)reverseAction:(NSTableView *)sender {
if (sender.clickedRow > 0) {
if (sender.clickedRow >= 0) {
[[NSWorkspace sharedWorkspace] openURL:self.reserveURL];
}
}
Expand Down

0 comments on commit 0484bc5

Please sign in to comment.