Fixed disclosure icon so that it only works on node that can have child nodes.

This commit is contained in:
Maurice Parker
2019-04-17 14:29:52 -05:00
parent 7e14f8bcd3
commit 48ab0cd733
2 changed files with 9 additions and 4 deletions

View File

@@ -303,6 +303,7 @@ class MasterViewController: UITableViewController, UndoableCommandRunner {
func configure(_ cell: MasterTableViewCell, _ node: Node) {
cell.delegate = self
cell.allowDisclosureSelection = node.canHaveChildNodes
cell.name = nameFor(node)
configureUnreadCount(cell, node)
configureFavicon(cell, node)