Re-enable dragging a URL into the sidebar to subscribe to a feed. Fix #14.
This commit is contained in:
parent
517fd9d05f
commit
7d4319ff43
|
@ -45,7 +45,7 @@ import RSCore
|
||||||
outlineView.dataSource = dataSource
|
outlineView.dataSource = dataSource
|
||||||
outlineView.setDraggingSourceOperationMask(.move, forLocal: true)
|
outlineView.setDraggingSourceOperationMask(.move, forLocal: true)
|
||||||
outlineView.setDraggingSourceOperationMask(.copy, forLocal: false)
|
outlineView.setDraggingSourceOperationMask(.copy, forLocal: false)
|
||||||
// outlineView.registerForDraggedTypes([FeedPasteboardWriter.feedUTIInternalType, FeedPasteboardWriter.feedUTIType, .URL, .string])
|
outlineView.registerForDraggedTypes([FeedPasteboardWriter.feedUTIInternalType, FeedPasteboardWriter.feedUTIType, .URL, .string])
|
||||||
|
|
||||||
NotificationCenter.default.addObserver(self, selector: #selector(unreadCountDidChange(_:)), name: .UnreadCountDidChange, object: nil)
|
NotificationCenter.default.addObserver(self, selector: #selector(unreadCountDidChange(_:)), name: .UnreadCountDidChange, object: nil)
|
||||||
NotificationCenter.default.addObserver(self, selector: #selector(containerChildrenDidChange(_:)), name: .ChildrenDidChange, object: nil)
|
NotificationCenter.default.addObserver(self, selector: #selector(containerChildrenDidChange(_:)), name: .ChildrenDidChange, object: nil)
|
||||||
|
|
Loading…
Reference in New Issue