Merge branch 'mac-candidate'
This commit is contained in:
commit
2fcadf9748
|
@ -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?
|
||||||
|
|
Loading…
Reference in New Issue