Selaa lähdekoodia

Fixed Rebuild not going to bottom of hierarchy

tznind 4 vuotta sitten
vanhempi
commit
66a779cb41
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Terminal.Gui/Views/TreeView.cs

+ 1 - 1
Terminal.Gui/Views/TreeView.cs

@@ -1344,7 +1344,7 @@ namespace Terminal.Gui {
 				if(IsExpanded) {
 				if(IsExpanded) {
 					//if we are expanded we need to updatethe visible children
 					//if we are expanded we need to updatethe visible children
 					foreach(var child in ChildBranches) {
 					foreach(var child in ChildBranches) {
-						child.Value.Refresh(false);
+						child.Value.Rebuild();
 					}
 					}
 					
 					
 				}
 				}