Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Sources/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1684,8 +1684,7 @@ func shouldSubmitCommandPaletteWithReturn(
}

func commandPaletteFieldEditorHasMarkedText(in window: NSWindow) -> Bool {
guard let editor = window.firstResponder as? NSTextView,
editor.isFieldEditor else {
guard let editor = window.firstResponder as? NSTextView else {
return false
}
return editor.hasMarkedText()
Expand Down
Loading