Reload data after a batch update. Fix #872.
This commit is contained in:
parent
e140d51e4b
commit
3447ebcec0
@ -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?
|
||||
|
Loading…
x
Reference in New Issue
Block a user