Merge branch 'mac-candidate'

This commit is contained in:
Brent Simmons 2019-07-28 15:31:45 -07:00
commit 2fcadf9748
1 changed files with 3 additions and 2 deletions

View File

@ -358,10 +358,11 @@ private extension SidebarViewController {
func rebuildTreeAndReloadDataIfNeeded() { func rebuildTreeAndReloadDataIfNeeded() {
if !animatingChanges && !BatchUpdate.shared.isPerforming { if !animatingChanges && !BatchUpdate.shared.isPerforming {
treeController.rebuild() if treeController.rebuild() {
outlineView.reloadData() outlineView.reloadData()
} }
} }
}
func restoreSelection(to nodes: [Node], sendNotificationIfChanged: Bool) { func restoreSelection(to nodes: [Node], sendNotificationIfChanged: Bool) {
if selectedNodes == nodes { // Nothing to do? if selectedNodes == nodes { // Nothing to do?