mirror of
https://github.com/gui-cs/Terminal.Gui.git
synced 2025-12-29 17:28:01 +01:00
Error on RemoveAll
already is removed on `Remove(View view)`
This commit is contained in:
@@ -499,9 +499,7 @@ namespace Terminal.Gui {
|
||||
return;
|
||||
|
||||
while (subviews.Count > 0) {
|
||||
var view = subviews [0];
|
||||
Remove (view);
|
||||
subviews.RemoveAt (0);
|
||||
Remove (subviews[0]);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user