« get me outta code hell

Don't use queue menu when multiple tracks selected - mtui - Music Text User Interface - user-friendly command line music player
about summary refs log tree commit diff
path: root/ui.js
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2019-07-19 20:24:36 -0300
committerFlorrie <towerofnix@gmail.com>2019-07-19 20:24:51 -0300
commit366da7740e4d07461572f1e56c51b3ecd8ad4bc9 (patch)
tree1175dcb0009f0ab909fe25736d272c7ea8bcf4eb /ui.js
parente1b016fd5cae66a191aec432a59850a0f92ebd58 (diff)
Don't use queue menu when multiple tracks selected
I.e, provide access to all options when multiple tracks are selected in
the queue.
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 7df03db..2b88b3a 100644
--- a/ui.js
+++ b/ui.js
@@ -568,7 +568,7 @@ class AppElement extends FocusElement {
     const anyMarked = editMode && this.markGrouplike.items.length > 0
 
     let items;
-    if (listing.grouplike.isTheQueue) {
+    if (listing.grouplike.isTheQueue && isTrack(item)) {
       items = [
         this.paneLeft.visible && {label: 'Reveal', action: () => this.reveal(item)},
         {divider: true},