Skip to content

Commit

Permalink
fix: can close feedback window with escape key
Browse files Browse the repository at this point in the history
  • Loading branch information
lwouis committed May 5, 2020
1 parent 1925777 commit 05fb4a2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ui/FeedbackWindow.swift
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ class FeedbackWindow: NSWindow {
contentView = view
}

@objc private func cancelCallback() {
// allow to close with the escape key
@objc func cancel(_ sender: Any?) {
close()
}

Expand Down

0 comments on commit 05fb4a2

Please sign in to comment.