« get me outta code hell

Don't crash when the queue is clicked! - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-07-19 16:06:13 -0300
committerFlorrie <towerofnix@gmail.com>2019-07-19 16:06:13 -0300
commit589c5d276b4cb85b060ad01acae39d049a8245a4 (patch)
tree3f602752086c5ddd8c96d31808caab56d7856398
parentcdff9f0c47ca8cb24d7f61de51856c3d05f39adc (diff)
Don't crash when the queue is clicked!
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 4bd6d2b..7df03db 100644
--- a/ui.js
+++ b/ui.js
@@ -2192,7 +2192,7 @@ class PathItemElement extends FocusElement {
 
 class QueueListingElement extends GrouplikeListingElement {
   getNewForm() {
-    return new QueueListingForm()
+    return new QueueListingForm(this.app)
   }
 
   keyPressed(keyBuf) {