Reload data after a batch update. Fix #872.

This commit is contained in:
Brent Simmons 2019-08-23 15:52:07 -07:00
parent e140d51e4b
commit 3447ebcec0

View File

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