mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-22 23:58:36 +01:00
Allow users to drop onto expanded folders. Fixes #2022
This commit is contained in:
parent
93cd9dd14b
commit
f391eb1669
@ -337,8 +337,8 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
||||
return proposedDestinationIndexPath
|
||||
}
|
||||
|
||||
// If this is a folder and isn't expanded or doesn't have any entries, let the users drop on it
|
||||
if destNode.representedObject is Folder && (destNode.numberOfChildNodes == 0 || !coordinator.isExpanded(destNode)) {
|
||||
// If this is a folder, let the users drop on it
|
||||
if destNode.representedObject is Folder {
|
||||
return proposedDestinationIndexPath
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user