Re-enable dragging a URL into the sidebar to subscribe to a feed. Fix #14.

This commit is contained in:
Brent Simmons 2018-11-22 11:33:53 -08:00
parent 517fd9d05f
commit 7d4319ff43
1 changed files with 1 additions and 1 deletions

View File

@ -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)