« get me outta code hell

mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.js b/ui.js
index 310db41..00aa403 100644
--- a/ui.js
+++ b/ui.js
@@ -990,6 +990,7 @@ class GrouplikeListingElement extends Form {
     // Just outright scrap the old items - don't deal with any selection stuff
     // (as a result of removeInput) yet.
     form.inputs = []
+    form.children = []
 
     const parent = this.grouplike[parentSymbol]
     if (parent) {