Handle the Delete key in the sidebar.
This commit is contained in:
parent
702559cfb1
commit
f6f4680e10
|
@ -7,6 +7,7 @@
|
|||
//
|
||||
|
||||
import AppKit
|
||||
import RSCore
|
||||
|
||||
class SidebarOutlineView : NSOutlineView {
|
||||
|
||||
|
@ -32,7 +33,7 @@ class SidebarOutlineView : NSOutlineView {
|
|||
case NSRightArrowFunctionKey:
|
||||
keyHandled = true
|
||||
|
||||
case NSDeleteFunctionKey:
|
||||
case NSDeleteFunctionKey, Int(kDeleteKeyCode):
|
||||
keyHandled = true
|
||||
Swift.print("NSDeleteFunctionKey")
|
||||
|
||||
|
|
Loading…
Reference in New Issue