Ver código fonte

Fixes #1071. Toplevel.GetTopLevelSubviews (). Changed from HashSet<View> to IList<View>.

BDisp 4 anos atrás
pai
commit
6d86e7f294
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      Terminal.Gui/Core/Toplevel.cs

+ 1 - 1
Terminal.Gui/Core/Toplevel.cs

@@ -278,7 +278,7 @@ namespace Terminal.Gui {
 				return null;
 			}
 
-			HashSet<View> views = new HashSet<View> ();
+			IList<View> views = new List<View> ();
 
 			foreach (var v in SuperView.Subviews) {
 				views.Add (v);