Skip to content

Commit

Permalink
Update TCCProfileViewController.swift (#77)
Browse files Browse the repository at this point in the history
Fix #62
  • Loading branch information
ty-wilson authored Oct 1, 2020
1 parent 7838053 commit 8b505c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/View Controllers/TCCProfileViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ class TCCProfileViewController: NSViewController {

func insertIntoAppleEvents(_ executable: Executable) {
guard let source = self.executablesAC.selectedObjects.first as? Executable else { return }
let rule = AppleEventRule(source: source, destination: executable, value: false)
let rule = AppleEventRule(source: source, destination: executable, value: true)
guard self.appleEventsAC.canInsert,
self.shouldAppleEventRuleBeAdded(rule) else { return }
self.appleEventsAC.insert(rule, atArrangedObjectIndex: 0)
Expand Down

0 comments on commit 8b505c1

Please sign in to comment.