Browse Source

Explicit sender parameter.

pull/101/head
Abhishek 4 years ago
parent
commit
a4b6927e9f
  1. 4
      Clocker/Onboarding/OnboardingSearchController.swift

4
Clocker/Onboarding/OnboardingSearchController.swift

@ -77,10 +77,10 @@ class OnboardingSearchController: NSViewController {
} }
} }
@objc func doubleClickAction(_: NSTableView?) { @objc func doubleClickAction(_ tableView: NSTableView) {
[accessoryLabel].forEach { $0?.isHidden = false } [accessoryLabel].forEach { $0?.isHidden = false }
if resultsTableView.selectedRow >= 0, resultsTableView.selectedRow < searchResultsDataSource.resultsCount() { if tableView.selectedRow >= 0, tableView.selectedRow < searchResultsDataSource.resultsCount() {
let selectedType = searchResultsDataSource.placeForRow(resultsTableView.selectedRow) let selectedType = searchResultsDataSource.placeForRow(resultsTableView.selectedRow)
switch selectedType { switch selectedType {
case .city: case .city:

Loading…
Cancel
Save