mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-03 18:56:14 +00:00
Verify that the parent node to be expanded is a Folder before trying to expand it.
This commit is contained in:
1 parent
0fbd376078
commit
5c4d8aeba7
1 file changed
+1
-1
@@ -564,7 +564,7 @@ class MasterFeedViewController: UITableViewController, UndoableCommandRunner {
|
||||
}
|
||||
|
||||
// It wasn't already visable, so expand its folder and try again
|
||||
guard let parent = node.parent else {
|
||||
guard let parent = node.parent, parent.representedObject is Folder else {
|
||||
completion?()
|
||||
return
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user