Explorar el Código

Merge pull request #117 from shargon/patch-1

Error on RemoveAll
Miguel de Icaza hace 7 años
padre
commit
75818ba19d
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1 3
      Terminal.Gui/Core.cs

+ 1 - 3
Terminal.Gui/Core.cs

@@ -499,9 +499,7 @@ namespace Terminal.Gui {
 				return;
 
 			while (subviews.Count > 0) {
-				var view = subviews [0];
-				Remove (view);
-				subviews.RemoveAt (0);
+				Remove (subviews[0]);
 			}
 		}